Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/ui/IRevealSemanticElement.java')
-rw-r--r--plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/ui/IRevealSemanticElement.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/ui/IRevealSemanticElement.java b/plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/ui/IRevealSemanticElement.java
new file mode 100644
index 00000000000..76d41e2deb7
--- /dev/null
+++ b/plugins/core/org.eclipse.papyrus.core/src/org/eclipse/papyrus/core/ui/IRevealSemanticElement.java
@@ -0,0 +1,30 @@
+/*****************************************************************************
+ * 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:
+ * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
+ */
+package org.eclipse.papyrus.core.ui;
+
+import java.util.List;
+
+/**
+ * this interface is used to reveal element that are given in parameter.
+ * Example of the use case:
+ * the class that implements this interface can be a diagram that select all editparts
+ * that are linked to the given list of semantic element
+ *
+ */
+public interface IRevealSemanticElement {
+/**
+ * reveal all elements that represent an element in the given list.
+ * @param elementList list of semantic element that we want to reveal, <B> cannot be null</B>
+ */
+ public void revealSemanticElement(List<?> elementList);
+}

Back to the top