diff options
author | Remy Suen | 2011-10-12 14:56:15 +0000 |
---|---|---|
committer | Remy Suen | 2011-10-12 14:56:15 +0000 |
commit | 88406581bce09ddb99184fc0755a13c172bcd795 (patch) | |
tree | 40b40301dcd3956ff990b1ac9754713563d286bd | |
parent | c4ae9ebb391a9e6ff25907b0434893ef114b2c68 (diff) | |
download | eclipse.platform.ui-88406581bce09ddb99184fc0755a13c172bcd795.tar.gz eclipse.platform.ui-88406581bce09ddb99184fc0755a13c172bcd795.tar.xz eclipse.platform.ui-88406581bce09ddb99184fc0755a13c172bcd795.zip |
Bug 359765 [Compatibility] IWorkbenchPage's savePerspective() method is
unimplemented
Since the 'singleton' attribute is not defined in the schema
file, it seems unlikely that anyone would actually call this
method. However, this is an API method so for the benefit of
clearly warning the user that the method is unimplemented, we
will throw an UnsupportedOperationException.
-rw-r--r-- | bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java | 4 |
1 files changed, 1 insertions, 3 deletions
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 4a32db8cc6b..efc71cca4b3 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 @@ -3151,9 +3151,7 @@ public class WorkbenchPage extends CompatibleWorkbenchPage implements * @see org.eclipse.ui.IWorkbenchPage#savePerspective() */ public void savePerspective() { - // FIXME compat savePerspective - E4Util.unsupported("savePerspective"); //$NON-NLS-1$ - + throw new UnsupportedOperationException(); } /* |