01: /*
02: * uDig - User Friendly Desktop Internet GIS client
03: * http://udig.refractions.net
04: * (C) 2004, Refractions Research Inc.
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: */
17: package net.refractions.udig.ui;
18:
19: import org.eclipse.ui.IWorkbenchActionConstants;
20:
21: /**
22: * General constants used by the uDig Application.
23: */
24: public interface Constants {
25: // Note: all menus have a IWorkbenchActionConstants group
26:
27: // Group Markers for the File menu in the menu bar
28: public static final String FILE_START = IWorkbenchActionConstants.FILE_START;
29: public static final String OPEN_EXT = IWorkbenchActionConstants.OPEN_EXT;
30: public static final String CLOSE_EXT = IWorkbenchActionConstants.CLOSE_EXT;
31: public static final String SAVE_EXT = IWorkbenchActionConstants.SAVE_EXT;
32: public static final String FILE_END = IWorkbenchActionConstants.FILE_END;
33: public static final String CONFIG_EXT = "config.ext"; //$NON-NLS-1$
34: public static final String COMMIT_EXT = "commit.ext"; //$NON-NLS-1$
35: public static final String NEW_START = "new.start"; //$NON-NLS-1$
36: public static final String RENAME_EXT = "rename.ext"; //$NON-NLS-1$
37: public static final String REVERT_EXT = "revert.ext"; //$NON-NLS-1$
38:
39: // Group Marker for the Edit menu in the menu bar
40: public static final String EDIT_START = IWorkbenchActionConstants.EDIT_START;
41: public static final String UNDO_EXT = IWorkbenchActionConstants.UNDO_EXT;
42: public static final String CUT_EXT = IWorkbenchActionConstants.CUT_EXT;
43: public static final String ADD_EXT = IWorkbenchActionConstants.ADD_EXT;
44: public static final String EDIT_END = IWorkbenchActionConstants.EDIT_END;
45: // Group Marker for the Navigation menu in the menu bar
46: public static final String M_NAVIGATE = IWorkbenchActionConstants.M_NAVIGATE;
47: public static final String NAV_START = IWorkbenchActionConstants.NAV_START;
48: public static final String NAV_ZOOM_EXT = "zoom.ext"; //$NON-NLS-1$
49: public static final String NAV_BOTTOM = "bottom"; //$NON-NLS-1$
50: // Group Marker for the Layer menu in the menu bar
51: public static final String M_LAYER = "layer"; //$NON-NLS-1$
52: public static final String LAYER_ADD_EXT = "add.ext"; //$NON-NLS-1$
53: public static final String LAYER_EDIT_EXT = "edit.ext"; //$NON-NLS-1$
54: public static final String LAYER_MAPGRAPHIC_EXT = "mapGraphic.ext"; //$NON-NLS-1$
55: public static final String LAYER_MAPGRAPHIC_OTHER = "mapGraphicOther.ext"; //$NON-NLS-1$
56:
57: // Group Marker for the Window menu in the menu bar - Only MB_ADDITIONS
58: // Group Marker for the Tool menu in the menu bar
59: public static final String M_TOOL = "tools"; //$NON-NLS-1$
60: public static final String TOOL_ACTION = "action.ext"; //$NON-NLS-1$
61: public static final String TOOL_MODAL = "modal.ext"; //$NON-NLS-1$
62: // Group Marker for the Help menu in the menu bar
63: public static final String HELP_START = IWorkbenchActionConstants.HELP_START;
64: public static final String HELP_END = IWorkbenchActionConstants.HELP_END;
65:
66: }
|