summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkolb2007-10-12 09:51:03 (EDT)
committerbkolb2007-10-12 09:51:03 (EDT)
commite4688af7027156b2dbec7d2037ce6d2e4e9856c2 (patch)
treecd9d70df53a446180cb5812e3a1d1d3db4745d69
parent895f45f64c21414e0da15392f6d9715fc8c6ce0f (diff)
downloadorg.eclipse.mwe-e4688af7027156b2dbec7d2037ce6d2e4e9856c2.zip
org.eclipse.mwe-e4688af7027156b2dbec7d2037ce6d2e4e9856c2.tar.gz
org.eclipse.mwe-e4688af7027156b2dbec7d2037ce6d2e4e9856c2.tar.bz2
added some @SuppressWarnings("restriction")
-rw-r--r--plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/DebugModelPresentation.java1
-rw-r--r--plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/JarEntryEditorInput.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/DebugModelPresentation.java b/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/DebugModelPresentation.java
index 0cb5c92..488da6b 100644
--- a/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/DebugModelPresentation.java
+++ b/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/DebugModelPresentation.java
@@ -85,6 +85,7 @@ public class DebugModelPresentation extends LabelProvider implements IDebugModel
}
// called at source editor display to show the source in the right editor type
+ @SuppressWarnings("restriction")
public String getEditorId(final IEditorInput input, final Object element) {
String ext = "";
if (((element instanceof IFile) || (element instanceof ILineBreakpoint)) && (input instanceof IFileEditorInput)) {
diff --git a/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/JarEntryEditorInput.java b/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/JarEntryEditorInput.java
index 12bea42..df91d2e 100644
--- a/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/JarEntryEditorInput.java
+++ b/plugins/org.eclipse.emf.mwe.ui/src/org/eclipse/emf/mwe/internal/ui/debug/model/ui/JarEntryEditorInput.java
@@ -10,6 +10,7 @@ import org.eclipse.ui.PlatformUI;
* An EditorInput for a JarEntryFile.
* copied from org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput
*/
+@SuppressWarnings("restriction")
public class JarEntryEditorInput extends org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput implements IStorageEditorInput {
private IStorage fJarEntryFile;