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/simple/SimpleSashWindowsContentProvider.java')
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/simple/SimpleSashWindowsContentProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/simple/SimpleSashWindowsContentProvider.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/simple/SimpleSashWindowsContentProvider.java
index c9f6057210c..48690ff6ae3 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/simple/SimpleSashWindowsContentProvider.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/simple/SimpleSashWindowsContentProvider.java
@@ -121,7 +121,7 @@ public class SimpleSashWindowsContentProvider implements ISashWindowsContentProv
*
* {@inheritDoc}
*/
- public void addPage(int index, IPageModel newModel) {
+ public void addPage(IPageModel newModel, int index) {
currentTabFolder.doAddItem(index, newModel);
firePropertyChanged(new ContentEvent(ContentEvent.ADDED, this, newModel));
}
@@ -130,7 +130,7 @@ public class SimpleSashWindowsContentProvider implements ISashWindowsContentProv
*
* {@inheritDoc}
*/
- public void addPage(ITabFolderModel toFolderModel, int index, IPageModel newModel) {
+ public void addPage(ITabFolderModel toFolderModel, IPageModel newModel, int index) {
TabFolderModel srcFolder = (TabFolderModel)toFolderModel;
srcFolder.doAddItem(index, newModel);
firePropertyChanged(new ContentEvent(ContentEvent.ADDED, this, newModel));

Back to the top