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/OWMDSQt.py

    r9066 r9546  
    3838    def __init__(self, parent=None, signalManager=None, name="Multi Dimensional Scaling"): 
    3939        OWWidget.__init__(self, parent, signalManager, name, wantGraph=True) 
    40         self.inputs=[("Distances", orange.SymMatrix, self.cmatrix), ("Example Subset", ExampleTable, self.cselected)] 
    41         self.outputs=[("Example Table", ExampleTable)] 
     40        self.inputs=[("Distances", orange.SymMatrix, self.cmatrix), ("Data Subset", ExampleTable, self.cselected)] 
     41        self.outputs=[("Data", ExampleTable)] 
    4242 
    4343        self.StressFunc=3 
     
    481481    def sendExampleTable(self, selectedInd): 
    482482        if self.selectionOptions==0: 
    483             self.send("Example Table", orange.ExampleTable(self.data.getitems(selectedInd))) 
     483            self.send("Data", orange.ExampleTable(self.data.getitems(selectedInd))) 
    484484        else: 
    485485            xAttr=orange.FloatVariable("X") 
     
    497497                selection[i][xAttr]=self.mds.points[selectedInd[i]][0] 
    498498                selection[i][yAttr]=self.mds.points[selectedInd[i]][1] 
    499             self.send("Example Table", selection) 
     499            self.send("Data", selection) 
    500500 
    501501    def sendList(self, selectedInd): 
     
    520520                        selection[i][xAttr]=self.mds.points[selectedInd[i]][0] 
    521521                        selection[i][yAttr]=self.mds.points[selectedInd[i]][1] 
    522             self.send("Example Table", selection) 
     522            self.send("Data", selection) 
    523523            return 
    524524                
Note: See TracChangeset for help on using the changeset viewer.