changeset 1364 | e9e17d3b2849 |
parent 1282 | f427352f9727 |
child 1388 | 67c9a9482d24 |
1363:e87e0166d0a7 | 1364:e9e17d3b2849 |
---|---|
139 from IDEFrame import TITLE, EDITORTOOLBAR, FILEMENU, EDITMENU, DISPLAYMENU, PROJECTTREE, POUINSTANCEVARIABLESPANEL, LIBRARYTREE, SCALING, PAGETITLES |
139 from IDEFrame import TITLE, EDITORTOOLBAR, FILEMENU, EDITMENU, DISPLAYMENU, PROJECTTREE, POUINSTANCEVARIABLESPANEL, LIBRARYTREE, SCALING, PAGETITLES |
140 from IDEFrame import EncodeFileSystemPath, DecodeFileSystemPath |
140 from IDEFrame import EncodeFileSystemPath, DecodeFileSystemPath |
141 from editors.EditorPanel import EditorPanel |
141 from editors.EditorPanel import EditorPanel |
142 from editors.Viewer import Viewer |
142 from editors.Viewer import Viewer |
143 from editors.TextViewer import TextViewer |
143 from editors.TextViewer import TextViewer |
144 from editors.GraphicViewer import GraphicViewer |
|
145 from editors.ResourceEditor import ConfigurationEditor, ResourceEditor |
144 from editors.ResourceEditor import ConfigurationEditor, ResourceEditor |
146 from editors.DataTypeEditor import DataTypeEditor |
145 from editors.DataTypeEditor import DataTypeEditor |
147 from util.MiniTextControler import MiniTextControler |
146 from util.MiniTextControler import MiniTextControler |
148 from util.ProcessLogger import ProcessLogger |
147 from util.ProcessLogger import ProcessLogger |
149 from controls.LogViewer import LogViewer |
148 from controls.LogViewer import LogViewer |
615 |
614 |
616 def GetTabInfos(self, tab): |
615 def GetTabInfos(self, tab): |
617 if (isinstance(tab, EditorPanel) and |
616 if (isinstance(tab, EditorPanel) and |
618 not isinstance(tab, (Viewer, |
617 not isinstance(tab, (Viewer, |
619 TextViewer, |
618 TextViewer, |
620 GraphicViewer, |
|
621 ResourceEditor, |
619 ResourceEditor, |
622 ConfigurationEditor, |
620 ConfigurationEditor, |
623 DataTypeEditor))): |
621 DataTypeEditor))): |
624 return ("confnode", tab.Controler.CTNFullName(), tab.GetTagName()) |
622 return ("confnode", tab.Controler.CTNFullName(), tab.GetTagName()) |
625 elif (isinstance(tab, TextViewer) and |
623 elif (isinstance(tab, TextViewer) and |