/[papo]/gnue/designer/src/navigator/Instance.py
ViewVC logotype

Diff of /gnue/designer/src/navigator/Instance.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by styxman, Fri Nov 8 16:46:03 2002 UTC revision 1.6.4.1 by anthonyl, Tue Mar 4 22:11:40 2003 UTC
# Line 16  Line 16 
16  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
17  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
18  #  #
19  # Copyright 2001-2002 Free Software Foundation  # Copyright 2001-2003 Free Software Foundation
20  #  #
21  # FILE:  # FILE:
22  # navigator/Instance.py  # navigator/Instance.py
# Line 28  Line 28 
28  #  #
29    
30  from gnue.designer.navigator import properties as navProperties  from gnue.designer.navigator import properties as navProperties
31  from gnue.designer.Instance import BaseInstance  from gnue.designer.base.Instance import BaseInstance
32    from Incubator import Incubator
33    
34  # Tool support...  # Tool support...
35  from LayoutEditor import LayoutEditor  from LayoutEditor import LayoutEditor
# Line 46  from gnue.navigator import GNParser, GNO Line 47  from gnue.navigator import GNParser, GNO
47  class Instance(BaseInstance):  class Instance(BaseInstance):
48    
49    def __init__(self, app, *args, **params):    def __init__(self, app, *args, **params):
50       self.incubator = Incubator(self)
51     self.properties = navProperties     self.properties = navProperties
52      
53     BaseInstance.__init__(self, app, *args, **params)     BaseInstance.__init__(self, app, *args, **params)
54    
55    
# Line 58  class Instance(BaseInstance): Line 59  class Instance(BaseInstance):
59      return object      return object
60    
61    
62    def loadEmpty(self):    def loadEmpty(self, style=None):
63      object = GNObjects.GNProcesses()      object = GNObjects.GNProcesses()
64      object.title = "Untitled Process"      object.title = "Untitled Process"
65      return object      return object
# Line 72  class Instance(BaseInstance): Line 73  class Instance(BaseInstance):
73      return LayoutEditor(self, self.rootObject, self)      return LayoutEditor(self, self.rootObject, self)
74    
75    
76    def addTools(self):    def createTools(self):
77        pass
78  ##    self.addTool('propertyEditor','Property Inspector', PropertyEditor)  ##    self.addTool('propertyEditor','Property Inspector', PropertyEditor)
79  ##    self.addTool('treeEditor','Object Navigator', TreeView)  ##    self.addTool('treeEditor','Object Navigator', TreeView)
80  ##    self.addTool('triggerEditor','Event Editor', TriggerEditor)  ##    self.addTool('triggerEditor','Event Editor', TriggerEditor)
81  ##    self.addTool('datasourceEditor','Data Source Editor', DataSourceEditor)  ##    self.addTool('datasourceEditor','Data Source Editor', DataSourceEditor)
82  ##    self.addTool('schemaViewer','Schema Navigator', SchemaViewer)  ##    self.addTool('schemaViewer','Schema Navigator', SchemaViewer)
83    
84      def createWizards(self):
85      self.loadWizards(wizards)      self.loadWizards(wizards)
86    
87    def preSave(self):    def preSave(self):

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26