Ignore:
Timestamp:
09/03/13 14:53:58 (8 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Refactored scheme parsing.

Using widget description's "replaces" list to resolve widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/scheme/scheme.py

    r11657 r11683  
    2828) 
    2929 
    30 from .readwrite import scheme_to_ows_stream, parse_scheme 
     30from . import readwrite 
    3131 
    3232from ..registry import WidgetDescription, InputSignal, OutputSignal 
     
    620620        self.sync_node_properties() 
    621621 
    622         scheme_to_ows_stream(self, stream, pretty, 
    623                              pickle_fallback=pickle_fallback) 
     622        readwrite.scheme_to_ows_stream(self, stream, pretty, 
     623                                       pickle_fallback=pickle_fallback) 
    624624 
    625625    def load_from(self, stream): 
     
    633633        if isinstance(stream, basestring): 
    634634            stream = open(stream, "rb") 
    635  
    636         parse_scheme(self, stream) 
     635        readwrite.scheme_load(self, stream) 
     636#         parse_scheme(self, stream) 
Note: See TracChangeset for help on using the changeset viewer.