Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/emf/facet/efacet/ui/internal/exported/view/INavigationViewFactory.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/emf/facet/efacet/ui/internal/exported/view/INavigationViewFactory.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/emf/facet/efacet/ui/internal/exported/view/INavigationViewFactory.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/emf/facet/efacet/ui/internal/exported/view/INavigationViewFactory.java
new file mode 100644
index 00000000000..3e9a0238657
--- /dev/null
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.ui/src/org/eclipse/emf/facet/efacet/ui/internal/exported/view/INavigationViewFactory.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright (c) 2011 Mia-Software.
+ *
+ * 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:
+ * Gregoire Dupe (Mia-Software) - Bug 364325 - [Restructuring] The user must be able to navigate into a model using the Facet.
+ */
+package org.eclipse.emf.facet.efacet.ui.internal.exported.view;
+
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.emf.facet.efacet.ui.internal.view.NavigationViewFactory;
+
+/**
+ * This interface allows to get an instance of the {@link INavigationView} interface
+ *
+ * @author Gregoire Dupe
+ *
+ */
+public interface INavigationViewFactory {
+
+ /**
+ * This is the default instance of this interface.
+ */
+ INavigationViewFactory DEFAULT = new NavigationViewFactory();
+
+ /**
+ * This method is the only way to open and access the navigation view.
+ * @param editingDomain
+ *
+ * @return an instance of {@link INavigationView}
+ */
+ INavigationView openNavigationView(EditingDomain editingDomain);
+
+}

Back to the top