Ignore:
Timestamp:
01/18/12 10:56:15 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
a367b01157310c282e7919193d767127e7829e26
Message:

Renamed widget channel names in line with the new naming rules/convention.
Added backwards compatibility in orngDoc loadDocument to enable loading of schemas saved before the change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Visualize Qt/OWLinProjQt.py

    r9088 r9546  
    3636        OWVisWidget.__init__(self, parent, signalManager, name, TRUE) 
    3737 
    38         self.inputs = [("Examples", ExampleTable, self.setData, Default), 
    39                        ("Example Subset", ExampleTable, self.setSubsetData), 
    40                        ("Attribute Selection List", AttributeList, self.setShownAttributes), 
     38        self.inputs = [("Data", ExampleTable, self.setData, Default), 
     39                       ("Data Subset", ExampleTable, self.setSubsetData), 
     40                       ("Features", AttributeList, self.setShownAttributes), 
    4141                       ("Evaluation Results", orngTest.ExperimentResults, self.setTestResults), 
    4242                       ("VizRank Learner", orange.Learner, self.setVizRankLearner), 
    4343                       ("Distances btw. Instances", orange.SymMatrix, self.setDistances)] 
    44         self.outputs = [("Selected Examples", ExampleTable), ("Unselected Examples", ExampleTable), ("Attribute Selection List", AttributeList), ("FreeViz Learner", orange.Learner)] 
     44        self.outputs = [("Selected Data", ExampleTable), ("Other Data", ExampleTable), ("Features", AttributeList), ("FreeViz Learner", orange.Learner)] 
    4545 
    4646        name_lower = name.lower() 
     
    295295        (selected, unselected) = self.graph.getSelectionsAsExampleTables(self.getShownAttributeList(), addProjectedPositions = self.addProjectedPositions) 
    296296 
    297         self.send("Selected Examples", selected) 
    298         self.send("Unselected Examples", unselected) 
     297        self.send("Selected Data", selected) 
     298        self.send("Other Data", unselected) 
    299299 
    300300    def sendShownAttributes(self): 
    301         self.send("Attribute Selection List", [a[0] for a in self.shownAttributes]) 
     301        self.send("Features", [a[0] for a in self.shownAttributes]) 
    302302 
    303303    # show selected interesting projection 
Note: See TracChangeset for help on using the changeset viewer.