101 ! |
101 ! |
102 |
102 |
103 documentation |
103 documentation |
104 " |
104 " |
105 The MenuEditor allows you to create, modify or just inspect |
105 The MenuEditor allows you to create, modify or just inspect |
106 menus. |
106 menu specifications. Such specifications are returned by menu-spec methods |
107 |
107 of the application class. These methods are typically tagged with a menu-resource. |
|
108 The menu editor is able to retrieve such specifications and generate new menu-spec |
|
109 methods. |
|
110 |
|
111 The editor is typically opened by double-clicking on a menu-spec method in the browser. |
108 |
112 |
109 [Instance variables:] |
113 [Instance variables:] |
110 |
114 |
111 listOfItemsView <HierarcicalListView> the view which shows the list of items |
115 listOfItemsView <HierarcicalListView> the view which shows the list of items |
112 listOfItems <HierarchicalList> hierarchical list of menu items |
116 listOfItems <HierarchicalList> hierarchical list of menu items |
113 listOfTabs <List> list of current shown tab-labels |
117 listOfTabs <List> list of current shown tab-labels |
114 |
118 |
115 selectionHolder <ValueHolder> collection of current selected items |
119 selectionHolder <ValueHolder> collection of current selected items |
116 selectedSuperItems <Collection> collection of superItems derived from selection |
120 selectedSuperItems <Collection> collection of superItems derived from selection |
117 |
121 |
118 tabHolder <ValueHolder> selected tab label holder |
122 tabHolder <ValueHolder> selected tab label holder |
119 notifyDisabledCounter <SmallInteger> ~~ 0 than change notifications are discard |
123 notifyDisabledCounter <SmallInteger> ~~ 0 than change notifications are discard |
120 wizards <IdentityDictionary> keeps all created wizard dialogs |
124 wizards <IdentityDictionary> keeps all created wizard dialogs |
121 |
125 |
122 dropOverLine <nil or SmallInteger> nil: drop context not dropabel. |
126 dropOverLine <nil or SmallInteger> nil: drop context not dropabel. |
123 = 0: drop context dropable but no item specified |
127 = 0: drop context dropable but no item specified |
124 ~ 0: drop context dropable for item at lineNumber |
128 ~ 0: drop context dropable for item at lineNumber |
125 used t6o restore drop indication drawings |
129 used t6o restore drop indication drawings |
126 |
130 |
127 [Class variables:] |
131 [Class variables:] |
128 ImageRetrieverClasses <Collection> sorted collection of image receivers |
132 ImageRetrieverClasses <Collection> sorted collection of image receivers |
129 |
133 |
130 [start with:] |
134 [start with:] |
131 MenuEditor open |
135 MenuEditor open |
132 MenuEditor openOnClass:MenuEditor andSelector:#menu |
136 MenuEditor openOnClass:MenuEditor andSelector:#menu |
133 |
137 |
134 [author:] |
138 [author:] |
135 Claus Atzkern, eXept Software AG |
139 Claus Atzkern, eXept Software AG |
136 Thomas Zwick, eXept Software AG |
140 Thomas Zwick, eXept Software AG |
137 " |
141 " |
138 ! ! |
142 ! ! |
139 |
143 |
140 !MenuEditor class methodsFor:'initialization'! |
144 !MenuEditor class methodsFor:'initialization'! |
141 |
145 |