Changeset 2219
- Timestamp:
- 06/10/08 13:59:47 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/framework-plugin/src/com/tresys/framework/plugin/editor/policy/graphic/GraphicPolicyEditorContextMenuProvider.java
r2054 r2219 71 71 GEFActionConstants.GROUP_UNDO, 72 72 getAction(ActionFactory.REDO.getId())); 73 menu.appendToGroup(74 GEFActionConstants.GROUP_EDIT,75 getAction(ActionFactory.DELETE.getId()));76 77 78 79 73 80 74 { // custom policy menus … … 91 85 { 92 86 case CDSEditorActionConstants.ADD_POLICY: 87 // if it is not customized then allow DELETE 88 menu.appendToGroup( 89 GEFActionConstants.GROUP_EDIT, 90 getAction(ActionFactory.DELETE.getId())); 93 91 final IAction add_action = getAction (AddCustomPolicy.ID); 94 92 if( add_action == null ) … … 106 104 case CDSEditorActionConstants.UNKNOWN: 107 105 default: 106 menu.appendToGroup( 107 GEFActionConstants.GROUP_EDIT, 108 getAction(ActionFactory.DELETE.getId())); 108 109 break; 109 110 }
