Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.ui/src/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/ui/outline/StereotypeApplicationWithVSLOutlineNodeAdapterFactory.java')
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.ui/src/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/ui/outline/StereotypeApplicationWithVSLOutlineNodeAdapterFactory.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.ui/src/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/ui/outline/StereotypeApplicationWithVSLOutlineNodeAdapterFactory.java b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.ui/src/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/ui/outline/StereotypeApplicationWithVSLOutlineNodeAdapterFactory.java
new file mode 100644
index 00000000000..ca13751b8ed
--- /dev/null
+++ b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.ui/src/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/ui/outline/StereotypeApplicationWithVSLOutlineNodeAdapterFactory.java
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ * 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:
+ * CEA LIST - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.ui.outline;
+
+import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
+
+public class StereotypeApplicationWithVSLOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
+
+ private static final Class<?>[] types = {
+ // provide list of classes to adapt to, e.g.:
+ // Entity.class
+ // Service.class
+ };
+
+ @Override
+ public Class<?>[] getAdapterList() {
+ return types;
+ }
+
+}
+

Back to the top