diff options
Diffstat (limited to 'plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java')
-rw-r--r-- | plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java index 5cf339c79e2..6655c0f792a 100644 --- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java +++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/multipage/editor/MultiPageEditor.java @@ -50,10 +50,7 @@ import org.eclipse.ui.part.MultiPageEditorPart; * site management. * * @author dumoulin - * @deprecated - * @since 4.4 */ -@Deprecated public abstract class MultiPageEditor extends MultiPageEditorPart { /** The pageProvider */ @@ -65,7 +62,7 @@ public abstract class MultiPageEditor extends MultiPageEditorPart { private ITabFolderModel tabFolderModel; /** Ordered set of currently shown diagrams */ - protected List<IPageModel> currentTabs = new ArrayList<>(); + protected List<IPageModel> currentTabs = new ArrayList<IPageModel>(); /** * Constructor. @@ -305,7 +302,7 @@ public abstract class MultiPageEditor extends MultiPageEditorPart { // There is some extra editors ! remove them. // remove extra editors : for each open editor, check if its model is in // the list of required models. - List<IPageModel> toBeRemoved = new ArrayList<>(); + List<IPageModel> toBeRemoved = new ArrayList<IPageModel>(); Iterator<IPageModel> currentIter = currentTabs.iterator(); while (currentIter.hasNext()) { IPageModel model = currentIter.next(); |