Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2014-07-15 23:58:26 +0000
committerLars Vogel2014-07-16 17:18:02 +0000
commit708bfddad74e7ddcdd83db1ffe6dba1ef707020a (patch)
treecac440f5aa03028d3936a4be787b1859b0886adf
parent6bffaebc37819c63d27ba755392d5d8e0694fe36 (diff)
downloadeclipse.platform.ui-708bfddad74e7ddcdd83db1ffe6dba1ef707020a.tar.gz
eclipse.platform.ui-708bfddad74e7ddcdd83db1ffe6dba1ef707020a.tar.xz
eclipse.platform.ui-708bfddad74e7ddcdd83db1ffe6dba1ef707020a.zip
Bug 431178 - Remove ICompatibleWorkbenchPage and
org.eclipse.ui.workbench.compatibility This removes ICompatibleWorkbenchPage from org.eclipse.ui.workbench Change-Id: Ibc34eb1788225c11d197e3604c5d0b49159286c2
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPage.java4
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CompatibleWorkbenchPage.java23
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ICompatibleWorkbenchPage.java23
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java3
4 files changed, 2 insertions, 51 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPage.java
index 4d7190740e8..d665b290605 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPage.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPage.java
@@ -13,7 +13,6 @@ package org.eclipse.ui;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.dynamichelpers.IExtensionTracker;
import org.eclipse.jface.util.IPropertyChangeListener;
-import org.eclipse.ui.internal.ICompatibleWorkbenchPage;
/**
* A workbench page consists of an arrangement of views and editors intended to
@@ -42,8 +41,7 @@ import org.eclipse.ui.internal.ICompatibleWorkbenchPage;
* @see IViewPart
* @noimplement This interface is not intended to be implemented by clients.
*/
-public interface IWorkbenchPage extends IPartService, ISelectionService,
- ICompatibleWorkbenchPage {
+public interface IWorkbenchPage extends IPartService, ISelectionService {
/**
* An optional attribute within a workspace marker (<code>IMarker</code>)
* which identifies the preferred editor type to be opened when
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CompatibleWorkbenchPage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CompatibleWorkbenchPage.java
deleted file mode 100644
index 1c85207b30d..00000000000
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CompatibleWorkbenchPage.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2006 IBM Corporation and others.
- * 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.ui.internal;
-
-/**
- * Internal class used in providing increased binary compatibility for
- * pre-3.0 plug-ins. There is an alternate implementation of this class
- * elsewhere that declares some methods that existed on IWorkbenchPage
- * in 2.1 that were removed in 3.0 (because they referenced resource API).
- *
- * @since 3.0
- */
-public class CompatibleWorkbenchPage implements ICompatibleWorkbenchPage {
- // dummy version that declares no methods
-}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ICompatibleWorkbenchPage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ICompatibleWorkbenchPage.java
deleted file mode 100644
index 6285f64670d..00000000000
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ICompatibleWorkbenchPage.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2006 IBM Corporation and others.
- * 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.ui.internal;
-
-/**
- * Internal interface used in providing increased binary compatibility for
- * pre-3.0 plug-ins. There is an alternate declaration of this interface
- * elsewhere that declares some methods that existed on IWorkbenchPage
- * in 2.1 that were removed in 3.0 (because they referenced resource API).
- *
- * @since 3.0
- */
-public interface ICompatibleWorkbenchPage {
- // dummy version that declares no methods
-}
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
index 4e47890966d..f002568fdae 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
@@ -184,8 +184,7 @@ import org.osgi.service.event.EventHandler;
/**
* A collection of views and editors in a workbench.
*/
-public class WorkbenchPage extends CompatibleWorkbenchPage implements
- IWorkbenchPage {
+public class WorkbenchPage implements IWorkbenchPage {
private static final String ATT_AGGREGATE_WORKING_SET_ID = "aggregateWorkingSetId"; //$NON-NLS-1$

Back to the top