001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package org.netbeans.test.umllib.util;
043:
044: public class PopupConstants {
045:
046: //top level items
047: public final static String EDIT = "Edit";
048: public final static String FIND = "Find";
049: public final static String RESET_ELEMENT_TO_CONTENTS = "Resize Element to Contents";
050: public final static String RESET_EDGES = "Reset Edges";
051: public final static String HIDE = "Hide";
052: public final static String SHOW = "Show";
053: public final static String LABELS = "Labels";
054:
055: //edit section
056: public final static String COPY = "Copy";
057: public final static String PASTE = "Paste";
058: public final static String DELETE = "Delete";
059: public final static String CUT = "Cut";
060: public final static String LOCK_EDIT = "Lock Edit";
061: public final static String SELECT_ALL = "Select All";
062: public final static String SELECT_ALL_SIMILAR = "Select All Similar Elements";
063: public final static String INVERT_SELECTION = "Invert Selection";
064: public final static String SET_DIMESIONS = "Set Dimensions...";
065:
066: //Find section
067: public final static String ELEMENT_IN_PROJECT_TREE = "Element In Project Tree";
068: public final static String SOURCE_ELEMENT = "Source Element";
069: public final static String TARGET_ELEMENT = "Target Element";
070:
071: //hide section
072: public final static String CHILDREN = "Children";
073: public final static String PARENTS = "Parents";
074: public final static String ONE_LEVEL = "One Level";
075: public final static String ALL_LEVELS = "All Levels";
076:
077: //Font and colors section
078: public final static String FONT = "Font";
079: public final static String FONT_COLOR = "Font Color";
080: public final static String BACKGROUND_COLOR = "Background Color";
081: public final static String BORDER_COLOR = "Border Color";
082:
083: //Labels section
084: public final static String NAME = "Name";
085: public final static String RESET_LABELS = "Reset Labels";
086:
087: // Contextual menus on UML project Tree node - class diagram node
088: public final static String OPEN = "Open";
089: public final static String ADD = "Add";
090: public final static String SAVE = "Save";
091: public final static String CLOSE = "Close";
092: public final static String NODE_DELETE = "Delete";
093: public final static String RENAME = "Rename...";
094: public final static String NAVIGATE_TO_SOURCE = "Navigate To Source";
095: public final static String SOURCE_CONTROL_REFRESH_STATUS = "SourceControl|Refresh Status";
096:
097: // Contextual menus on UML project Tree node - Model node
098: public final static String OPEN_REQUIRED_PROJECTS = "Open Required Projects";
099: public final static String CLOSE_PROJECT = "Close Project";
100: public final static String ADD_DIAGRAM = "New|Diagram";
101: public final static String ADD_PACKAGE = "New|Package";
102: public final static String ADD_ELEMENT = "New|Element";
103: public final static String ADD_ATTRIBUTE = "New|Attribute";
104: public final static String ADD_OPERATION = "New|Operation";
105: public final static String FILTER = "Filter...";
106:
107: // Contextual menus specific to class element
108: public final static String INSERT_ATTRIBUTE = "Insert Attribute";
109: public final static String DELETE_ATTRIBUTE = "Delete Attribute";
110: public final static String INSERT_OPERATION = "Insert Operation";
111: public final static String DELETE_OPERATION = "Delete Operation";
112:
113: public final static String GENERATE_DEPENDENCY_DIAGRAM = "Generate Dependency Diagram";
114: public final static String REVERSE_ENGINEER_OPERATION = "Reverse Engineer Operation...";
115:
116: }
|