diff options
| author | Lars Vogel | 2014-11-17 12:07:15 +0000 |
|---|---|---|
| committer | Lars Vogel | 2014-11-17 19:24:09 +0000 |
| commit | eeaf22c7640c64105498c6f9061784b5d0a1a1db (patch) | |
| tree | 52f697d33cfd5c5fc9166e487f6ac3bbecc4b38e | |
| parent | d1cefb22398768c993afaf3df919095a70786068 (diff) | |
| download | eclipse.platform.ui-eeaf22c7640c64105498c6f9061784b5d0a1a1db.tar.gz eclipse.platform.ui-eeaf22c7640c64105498c6f9061784b5d0a1a1db.tar.xz eclipse.platform.ui-eeaf22c7640c64105498c6f9061784b5d0a1a1db.zip | |
Bug 446965 - EditorInputPropertyTester called for IEditorPart with
IEditorInput set
Change-Id: I485dbb54aa7d3cf0761ade94a2415fbcec2c3bce
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
| -rw-r--r-- | bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/handlers/EditorInputPropertyTester.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/handlers/EditorInputPropertyTester.java b/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/handlers/EditorInputPropertyTester.java index 25ff1306437..423f4e05e9c 100644 --- a/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/handlers/EditorInputPropertyTester.java +++ b/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/handlers/EditorInputPropertyTester.java @@ -42,11 +42,11 @@ public class EditorInputPropertyTester extends PropertyTester { return true; } if (input == null) { - IDEWorkbenchPlugin.log("IEditorPart passed in without IEditorInput set for " + editor.getClass()); //$NON-NLS-1$ + IDEWorkbenchPlugin + .log("IEditorPart (" + editor.getClass() + ") passed in without IEditorInput set.", new NullPointerException()); //$NON-NLS-1$ //$NON-NLS-2$ return false; } Object obj = input.getAdapter(IResource.class); return obj != null; } - } |
