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/contentprovider/ITabFolderModel.java')
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ITabFolderModel.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ITabFolderModel.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ITabFolderModel.java
new file mode 100644
index 00000000000..c1238b958f1
--- /dev/null
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/ITabFolderModel.java
@@ -0,0 +1,34 @@
+package org.eclipse.papyrus.infra.core.sasheditor.contentprovider;
+
+import java.util.List;
+
+/**
+ * A folder containing tabItem. This interface is used to specify that a
+ * TabFolder should be drawn.
+ *
+ * @author dumoulin
+ *
+ * @param <ChildType>
+ * Type of the children of the folder. This is the type returned by
+ * getChildren().
+ */
+public interface ITabFolderModel extends IAbstractPanelModel {
+
+ /**
+ * Get the list of children that should be displayed in the folder.
+ *
+ * @return
+ */
+ public List<?> getChildren();
+
+ /**
+ * Create the Interface used to access the real model. This method is called
+ * by the sashes window to get the interface. The method is called only once
+ * for a given object.
+ *
+ * @param child
+ * A child returned by getChildren().
+ * @return
+ */
+ public IPageModel createChildSashModel(Object child);
+}

Back to the top