Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenn Hussey2017-12-01 22:10:25 +0000
committerKenn Hussey2017-12-01 22:10:25 +0000
commitf37352fbc5d5f82087bb02fcb4ea33487a0ab9f6 (patch)
tree5762b2c4267b138b628c398e547cfd244030f16d
parent2239d5bc5902531a8f2387481ffefb89b811b8f4 (diff)
downloadorg.eclipse.uml2-f37352fbc5d5f82087bb02fcb4ea33487a0ab9f6.tar.gz
org.eclipse.uml2-f37352fbc5d5f82087bb02fcb4ea33487a0ab9f6.tar.xz
org.eclipse.uml2-f37352fbc5d5f82087bb02fcb4ea33487a0ab9f6.zip
[522658] Regenerating based on changes in EMF.
-rw-r--r--plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLEditor.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLEditor.java b/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLEditor.java
index 4ad6081d0..d64ebd78c 100644
--- a/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLEditor.java
+++ b/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLEditor.java
@@ -1349,18 +1349,19 @@ public class UMLEditor
* This is how the framework determines which interfaces we implement.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated not
*/
+ @SuppressWarnings("rawtypes")
@Override
- public <T> T getAdapter(Class<T> key) {
+ public Object getAdapter(Class key) {
if (key.equals(IContentOutlinePage.class)) {
return showOutlineView()
- ? key.cast(getContentOutlinePage())
+ ? getContentOutlinePage()
: null;
} else if (key.equals(IPropertySheetPage.class)) {
- return key.cast(getPropertySheetPage());
+ return getPropertySheetPage();
} else if (key.equals(IGotoMarker.class)) {
- return key.cast(this);
+ return this;
} else {
return super.getAdapter(key);
}

Back to the top