예제 #1
0
    def get_title(my):
        my.widget = Common.create_from_class_path(my.widget_class, [my.title])
        my.widget.options = my.options
        my.widget.set_title(my.title)
        my.widget.set_name(my.title)
        Container.put_dict("widgets", my.title, my.widget)

        index = my.get_current_index()
        my.widget.set_sobjects(my.sobjects)
        my.widget.set_current_index(index)
        if my.draw == "false":
            return ""
        else:
            return my.widget.get_title()
예제 #2
0
파일: tab_wdg.py 프로젝트: 0-T-0/TACTIC
    def get_title(my): 
        my.widget = Common.create_from_class_path(my.widget_class, [my.title])
        my.widget.options = my.options
        my.widget.set_title(my.title)
        my.widget.set_name(my.title)
        Container.put_dict("widgets", my.title, my.widget)

        index = my.get_current_index()
        my.widget.set_sobjects(my.sobjects)
        my.widget.set_current_index(index)
        if my.draw == "false":
            return ""
        else:
            return my.widget.get_title()
예제 #3
0
파일: tab_wdg.py 프로젝트: mincau/TACTIC
    def get_title(self): 
        self.widget = Common.create_from_class_path(self.widget_class, [self.title])
        self.widget.options = self.options
        self.widget.set_title(self.title)
        self.widget.set_name(self.title)
        Container.put_dict("widgets", self.title, self.widget)

        index = self.get_current_index()
        self.widget.set_sobjects(self.sobjects)
        self.widget.set_current_index(index)
        if self.draw == "false":
            return ""
        else:
            return self.widget.get_title()
예제 #4
0
파일: tab_wdg.py 프로젝트: 0-T-0/TACTIC
    def get_display(my):
        my.widget.options = my.options
        my.widget.set_title(my.title)
        my.widget.set_name(my.title)
        my.widget.parent_wdg = my.parent_wdg
        Container.put_dict("widgets", my.title, my.widget)

        index = my.get_current_index()
        my.widget.set_sobjects(my.sobjects)
        my.widget.set_search(my.search)
        my.widget.set_current_index(index)
        if my.draw == "false":
            return None
        else:
            return my.widget
예제 #5
0
    def get_display(my):
        my.widget.options = my.options
        my.widget.set_title(my.title)
        my.widget.set_name(my.title)
        my.widget.parent_wdg = my.parent_wdg
        Container.put_dict("widgets", my.title, my.widget)

        index = my.get_current_index()
        my.widget.set_sobjects(my.sobjects)
        my.widget.set_search(my.search)
        my.widget.set_current_index(index)
        if my.draw == "false":
            return None
        else:
            return my.widget
예제 #6
0
파일: tab_wdg.py 프로젝트: zieglerm/TACTIC
    def get_display(self):
        self.widget.options = self.options
        self.widget.set_title(self.title)
        self.widget.set_name(self.title)
        self.widget.parent_wdg = self.parent_wdg
        Container.put_dict("widgets", self.title, self.widget)

        index = self.get_current_index()
        self.widget.set_sobjects(self.sobjects)
        self.widget.set_search(self.search)
        self.widget.set_current_index(index)
        if self.draw == "false":
            return None
        else:
            return self.widget
예제 #7
0
파일: tab_wdg.py 프로젝트: zieglerm/TACTIC
    def get_title(self):
        self.widget = Common.create_from_class_path(self.widget_class,
                                                    [self.title])
        self.widget.options = self.options
        self.widget.set_title(self.title)
        self.widget.set_name(self.title)
        Container.put_dict("widgets", self.title, self.widget)

        index = self.get_current_index()
        self.widget.set_sobjects(self.sobjects)
        self.widget.set_current_index(index)
        if self.draw == "false":
            return ""
        else:
            return self.widget.get_title()
예제 #8
0
파일: tab_wdg.py 프로젝트: mincau/TACTIC
    def get_display(self):
        self.widget.options = self.options
        self.widget.set_title(self.title)
        self.widget.set_name(self.title)
        self.widget.parent_wdg = self.parent_wdg
        Container.put_dict("widgets", self.title, self.widget)

        index = self.get_current_index()
        self.widget.set_sobjects(self.sobjects)
        self.widget.set_search(self.search)
        self.widget.set_current_index(index)
        if self.draw == "false":
            return None
        else:
            return self.widget