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/view/constraints/ConstraintDescriptorState.java')
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/constraints/ConstraintDescriptorState.java74
1 files changed, 0 insertions, 74 deletions
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/constraints/ConstraintDescriptorState.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/constraints/ConstraintDescriptorState.java
deleted file mode 100644
index 92d3c4049be..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/constraints/ConstraintDescriptorState.java
+++ /dev/null
@@ -1,74 +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.view.constraints;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.papyrus.views.properties.runtime.state.AbstractState;
-import org.eclipse.papyrus.views.properties.runtime.state.ITraversableModelElement;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-
-
-/**
- * State for Constraint Descriptors
- */
-public abstract class ConstraintDescriptorState extends AbstractState {
-
- /** constraint managed by this state */
- protected IConstraintDescriptor constraintDescriptor;
-
- /**
- * Creates a new ConstraintDescriptorState.
- *
- * @param constraintDescriptor
- * the constraint descriptor managed by this state
- * @param readOnly
- * the read only mode of this state
- */
- public ConstraintDescriptorState(IConstraintDescriptor constraintDescriptor, boolean readOnly) {
- super(readOnly);
- this.constraintDescriptor = constraintDescriptor;
- }
-
- /**
- * {@inheritDoc}
- */
- public IConstraintDescriptor getDescriptor() {
- return constraintDescriptor;
- }
-
- /**
- * {@inheritDoc}
- */
- public String getEditionDialogId() {
- return "ConstraintDescriptorStateDialog";
- }
-
- /**
- * {@inheritDoc}
- */
- public List<ITraversableModelElement> getChildren() {
- return Collections.emptyList();
- }
-
- /**
- * Serialize the configuration given by this state
- *
- * @param document
- * the document used to create XML elements
- * @return the created xml node
- */
- public abstract Node generateNode(Document document);
-
-}

Back to the top