Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2011-12-09 14:31:31 +0000
committervlorenzo2011-12-09 14:31:31 +0000
commit06c97945804ef6fec4a1b1baa51fa9f0b7983080 (patch)
tree6c718b494d42a2b714a7803a28754b15a0536d67
parent49e04c1b77683378850018d95420edd2b8e7fd10 (diff)
downloadorg.eclipse.papyrus-06c97945804ef6fec4a1b1baa51fa9f0b7983080.tar.gz
org.eclipse.papyrus-06c97945804ef6fec4a1b1baa51fa9f0b7983080.tar.xz
org.eclipse.papyrus-06c97945804ef6fec4a1b1baa51fa9f0b7983080.zip
366166: Make Papyrus 0.9.X compile with Juno platform
https://bugs.eclipse.org/bugs/show_bug.cgi?id=366166
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
index cdde96741ae..829893533fc 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
@@ -141,14 +141,7 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
// if(control != null && !control.isDisposed()) {
// ((PartSite)getMainEditorSite()).getPane().doHide();
// }
-
- //FIXME : NEW code for Juno
- final Control control = ((WorkbenchPartReference)((PartSite)getMainEditorSite()).getPartReference()).getPane().getControl();
- if(control != null && !control.isDisposed()) {
- PartPane pane = ((WorkbenchPartReference)((PartSite)getMainEditorSite()).getPartReference()).getPane();
- //FIXME : I think it is not the correct solution. Need to be tested
- pane.getControl().dispose();
- }
+ //FIXME : I don't know how to migrate this code?
}
});

Back to the top