Changeset 2220
- Timestamp:
- 06/10/08 14:51:33
(4 months ago)
- Author:
- apatel
- Message:
added DELETE context menu option back. Better solution would be to enable user to delete and support undo/redo of the customization.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2219 |
r2220 |
|
| 71 | 71 | GEFActionConstants.GROUP_UNDO, |
|---|
| 72 | 72 | getAction(ActionFactory.REDO.getId())); |
|---|
| | 73 | menu.appendToGroup( |
|---|
| | 74 | GEFActionConstants.GROUP_EDIT, |
|---|
| | 75 | getAction(ActionFactory.DELETE.getId())); |
|---|
| 73 | 76 | |
|---|
| 74 | 77 | { // custom policy menus |
|---|
| … | … | |
| 85 | 88 | { |
|---|
| 86 | 89 | 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())); |
|---|
| 91 | 90 | final IAction add_action = getAction (AddCustomPolicy.ID); |
|---|
| 92 | 91 | if( add_action == null ) |
|---|
| … | … | |
| 104 | 103 | case CDSEditorActionConstants.UNKNOWN: |
|---|
| 105 | 104 | default: |
|---|
| 106 | | menu.appendToGroup( |
|---|
| 107 | | GEFActionConstants.GROUP_EDIT, |
|---|
| 108 | | getAction(ActionFactory.DELETE.getId())); |
|---|
| 109 | 105 | break; |
|---|
| 110 | 106 | } |
|---|
Download in other formats:
* Generating other formats may take time.