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/Prototypes/OWItemsetViz.py

    r8042 r9546  
    245245        OWWidget.__init__(self, parent, signalManager, 'Itemset visualizer') 
    246246 
    247         self.inputs = [("Graph with ExampleTable", orange.Graph, self.setGraph), ("Example Subset", orange.ExampleTable, self.setExampleSubset)] 
    248         self.outputs=[("Selected Examples", ExampleTable), ("Selected Graph", orange.Graph)] 
     247        self.inputs = [("Graph with Data", orange.Graph, self.setGraph), ("Data Subset", orange.ExampleTable, self.setExampleSubset)] 
     248        self.outputs=[("Selected Data", ExampleTable), ("Selected Graph", orange.Graph)] 
    249249         
    250250        self.markerAttributes = [] 
     
    527527        if graph != None: 
    528528            if graph.items != None: 
    529                 self.send("Selected Examples", graph.items) 
     529                self.send("Selected Data", graph.items) 
    530530            else: 
    531                 self.send("Selected Examples", self.graph.getSelectedExamples()) 
     531                self.send("Selected Data", self.graph.getSelectedExamples()) 
    532532                 
    533533            self.send("Selected Graph", graph) 
     
    535535            items = self.graph.getSelectedExamples() 
    536536            if items != None: 
    537                 self.send("Selected Examples", items) 
     537                self.send("Selected Data", items) 
    538538            self.send("Selected Graph", None) 
    539539    
Note: See TracChangeset for help on using the changeset viewer.