Solves the bug No.3043506.
commit2c80fb5f0ded14db44d28284c698830fdb42b15e
authormacekond <macekond@fel.cvut.cz>
Mon, 16 Aug 2010 11:44:12 +0000 (16 13:44 +0200)
committermacekond <macekond@fel.cvut.cz>
Mon, 16 Aug 2010 11:44:12 +0000 (16 13:44 +0200)
treec893be2e61f3839e4719641bd3351f0f03c02175
parent2038aafc88d8b094c6d8a2eddfe05582dbb939f9
Solves the bug No.3043506.
The Notation.getPopupMenu() method was replaced by Notation.addPopupMenuItem(). From now every notation is responsible for it's own workspace popup menu. To handle their popup menus the notations can use some MenuService methods (in case they implement popup menu in the same way Independent Modeler does).
The change was propagated into EPC notation and UML class model  plugins too.
IndependentModeler/src/cz/cvut/promod/plugin/notationSpecificPlugIn/notation/Notation.java
IndependentModeler/src/cz/cvut/promod/services/menuService/MenuControlServiceImpl.java
IndependentModeler/src/cz/cvut/promod/services/menuService/MenuService.java
Plugins/ClassModel/NotationClassModel/src/cz/cvut/indepmod/classmodel/ClassModelNotation.java
Plugins/EPC/NotationEPC/src/cz/cvut/promod/epc/EPCNotation.java
Plugins/EPC/NotationEPC/src/cz/cvut/promod/epc/EPCNotationModel.java
Plugins/ProcessHierarchy/NotationProcessHierarchy/src/cz/cvut/promod/hierarchyNotation/ProcessHierarchyNotation.java