Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/properties/generation/generators/EditContextGenerator.java')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/properties/generation/generators/EditContextGenerator.java87
1 files changed, 87 insertions, 0 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/properties/generation/generators/EditContextGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/properties/generation/generators/EditContextGenerator.java
new file mode 100644
index 00000000000..c1379bcf052
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/properties/generation/generators/EditContextGenerator.java
@@ -0,0 +1,87 @@
+/*****************************************************************************
+ * 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:
+ * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.generation.generators;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.papyrus.properties.contexts.Context;
+import org.eclipse.papyrus.properties.contexts.DataContextElement;
+import org.eclipse.papyrus.properties.contexts.Property;
+import org.eclipse.papyrus.properties.contexts.View;
+import org.eclipse.papyrus.properties.generation.messages.Messages;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Listener;
+
+/**
+ * Incubation
+ *
+ * An implementation of IGenerator used to re-generate a Context from an existing one
+ *
+ * @author Camille Letavernier
+ */
+public class EditContextGenerator implements IGenerator {
+
+ public Context generate(URI targetURI) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void createControls(Composite parent) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public String getDescription() {
+ return Messages.EditContextGenerator_generateNewContext;
+ }
+
+ public boolean isReady() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public String getName() {
+ return Messages.EditContextGenerator_importExistingContext;
+ }
+
+ public boolean isSelectedSingle(Property property) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean isSelectedMultiple(Property property) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean isSelectedSingle(Property property, DataContextElement element) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean isSelectedMultiple(Property property, DataContextElement element) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public void addListener(Listener listener) {
+ // TODO Auto-generated method stub
+ }
+
+ public List<DataContextElement> getContextElementsFor(Collection<Context> contexts, View view) {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException();
+ }
+
+}

Back to the top