Lines 992-998
Link Here
|
992 |
throws CoreException { |
992 |
throws CoreException { |
993 |
if (descriptor instanceof EditorDescriptor) { |
993 |
if (descriptor instanceof EditorDescriptor) { |
994 |
EditorDescriptor desc = (EditorDescriptor) descriptor; |
994 |
EditorDescriptor desc = (EditorDescriptor) descriptor; |
995 |
return desc.createEditor() instanceof AbstractDecoratedTextEditor; |
995 |
IEditorPart editor= desc.createEditor(); |
|
|
996 |
editor.dispose(); |
997 |
return editor instanceof AbstractDecoratedTextEditor; |
996 |
} |
998 |
} |
997 |
return false; |
999 |
return false; |
998 |
} |
1000 |
} |