Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java')
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java
new file mode 100644
index 00000000000..e2e41c10eeb
--- /dev/null
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/editor/IPageVisitor.java
@@ -0,0 +1,28 @@
+/**
+ *
+ */
+package org.eclipse.papyrus.infra.core.sasheditor.editor;
+
+/**
+ * A Visitor used to visit all the {@link IPage} of a {@link SashWindowsContainer}.
+ *
+ * @author cedric dumoulin
+ *
+ */
+public interface IPageVisitor {
+
+ /**
+ * Visit the provided page of type {@link IComponentPage}.
+ *
+ * @param page
+ */
+ void accept(IComponentPage page);
+
+ /**
+ * Visit the provided page of type {@link IEditorPage}.
+ *
+ * @param page
+ */
+ void accept(IEditorPage page);
+
+}

Back to the top