Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/state/AbstractState.java')
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/state/AbstractState.java65
1 files changed, 0 insertions, 65 deletions
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/state/AbstractState.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/state/AbstractState.java
deleted file mode 100644
index 55c402e34d4..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/state/AbstractState.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.views.properties.runtime.state;
-
-import org.eclipse.swt.graphics.Image;
-
-
-/**
- * Abstract class for state used to configure the property view
- */
-public abstract class AbstractState implements IState, ITraversableModelElement {
-
- /** key for the event: add an element to the list of children */
- public static final String PROPERTY_ADD_CHILD = "ADD_CHILD_EVENT";
-
- /** key for the event: remove an element to the list of children */
- public static final String PROPERTY_REMOVE_CHILD = "REMOVE_CHILD_EVENT";
-
- /** Add group identifier for context menu */
- public static final String ADD_GROUP = "ADD_GROUP";
-
- /** read only mode for the state */
- protected boolean readOnly = false;
-
- /**
- * Creates a new AbstractState.
- *
- * @param readOnly
- * the read only mode for this state
- */
- public AbstractState(boolean readOnly) {
- this.readOnly = readOnly;
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean isReadOnly() {
- return readOnly;
- }
-
- /**
- * {@inheritDoc}
- */
- public String getText() {
- return getDescriptor().getText();
- }
-
- /**
- * {@inheritDoc}
- */
- public Image getImage() {
- return getDescriptor().getImage();
- }
-
-}

Back to the top