Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool/src/org/eclipse/papyrus/adltool/designer/wizard/FeatureArchitectureWizard.java')
-rw-r--r--extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool/src/org/eclipse/papyrus/adltool/designer/wizard/FeatureArchitectureWizard.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool/src/org/eclipse/papyrus/adltool/designer/wizard/FeatureArchitectureWizard.java b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool/src/org/eclipse/papyrus/adltool/designer/wizard/FeatureArchitectureWizard.java
new file mode 100644
index 00000000000..1b6d01646a9
--- /dev/null
+++ b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipsetool/src/org/eclipse/papyrus/adltool/designer/wizard/FeatureArchitectureWizard.java
@@ -0,0 +1,44 @@
+/*****************************************************************************
+ * Copyright (c) 2013 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:
+ * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.adltool.designer.wizard;
+
+import java.util.ArrayList;
+
+import org.eclipse.papyrus.adltool.designer.ArchitectureSnapshotDesigner;
+
+/**
+ * this wizard is used to display feature from workspace and the platform
+ *
+ */
+public class FeatureArchitectureWizard extends PluginArchitectureWizard {
+
+ public FeatureArchitectureWizard(boolean onlyWorkspace) {
+ super(onlyWorkspace);
+ }
+
+ @Override
+ public void addPages() {
+ ArrayList<Object> bundleList= new ArrayList<Object>();
+ if(onlyWorkspace){
+ bundleList.addAll(ArchitectureSnapshotDesigner.getWorkspaceFeature());
+ }
+ else{
+ bundleList.addAll(ArchitectureSnapshotDesigner.getFeature());
+ }
+ bundleSelectionPage = new BundleSelectionPage(bundleList);
+ addPage(bundleSelectionPage);
+ }
+
+}

Back to the top