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/content/LayoutDescriptorState.java')
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/content/LayoutDescriptorState.java64
1 files changed, 0 insertions, 64 deletions
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/content/LayoutDescriptorState.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/content/LayoutDescriptorState.java
deleted file mode 100644
index 7a9ce65a6a7..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.views.properties.runtime/src/org/eclipse/papyrus/views/properties/runtime/view/content/LayoutDescriptorState.java
+++ /dev/null
@@ -1,64 +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.content;
-
-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.eclipse.swt.widgets.Layout;
-
-
-/**
- * State for {@link LayoutDescriptor}
- */
-public abstract class LayoutDescriptorState extends AbstractState {
-
- /** descriptor managed by this state */
- private final LayoutDescriptor layoutDescriptor;
-
- /**
- * Creates a new LayoutDescriptorState.
- *
- * @param layoutDescriptor
- * managed descriptor
- * @param readOnly
- * read only mode of this state
- */
- public LayoutDescriptorState(LayoutDescriptor layoutDescriptor, boolean readOnly) {
- super(readOnly);
- this.layoutDescriptor = layoutDescriptor;
- }
-
- /**
- * {@inheritDoc}
- */
- public LayoutDescriptor getDescriptor() {
- return layoutDescriptor;
- }
-
- /**
- * {@inheritDoc}
- */
- public List<? extends ITraversableModelElement> getChildren() {
- return Collections.emptyList();
- }
-
- /**
- * Creates the layout for the preview
- *
- * @return the layout for the preview
- */
- public abstract Layout createLayout();
-
-}

Back to the top