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

    r8042 r9546  
    3434        OWVisWidget.__init__(self, parent, signalManager, name, TRUE) 
    3535 
    36         self.inputs = [("Examples", ExampleTable, self.setData, Default), 
    37                        ("Example Subset", ExampleTable, self.setSubsetData), 
    38                        ("Attribute Selection List", AttributeList, self.setShownAttributes), 
     36        self.inputs = [("Data", ExampleTable, self.setData, Default), 
     37                       ("Data Subset", ExampleTable, self.setSubsetData), 
     38                       ("Features", AttributeList, self.setShownAttributes), 
    3939                       ("Evaluation Results", orngTest.ExperimentResults, self.setTestResults), 
    4040                       ("VizRank Learner", orange.Learner, self.setVizRankLearner), 
    4141                       ("Distances btw. Instances", orange.SymMatrix, self.setDistances)] 
    42         self.outputs = [("Selected Examples", ExampleTable), ("Unselected Examples", ExampleTable), ("Attribute Selection List", AttributeList), ("FreeViz Learner", orange.Learner)] 
     42        self.outputs = [("Selected Data", ExampleTable), ("Other Data", ExampleTable), ("Features", AttributeList), ("FreeViz Learner", orange.Learner)] 
    4343 
    4444        # local variables 
     
    226226        (selected, unselected) = self.graph.getSelectionsAsExampleTables(self.getShownAttributeList(), addProjectedPositions = self.addProjectedPositions) 
    227227 
    228         self.send("Selected Examples", selected) 
    229         self.send("Unselected Examples", unselected) 
     228        self.send("Selected Data", selected) 
     229        self.send("Other Data", unselected) 
    230230 
    231231    def sendShownAttributes(self): 
    232         self.send("Attribute Selection List", [a[0] for a in self.shownAttributes]) 
     232        self.send("Features", [a[0] for a in self.shownAttributes]) 
    233233 
    234234    # show selected interesting projection 
Note: See TracChangeset for help on using the changeset viewer.