|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Description of an editor in the workbench editor registry. The editor descriptor contains the information needed to create editor instances.
An editor descriptor typically represents one of three types of editors:
This interface is not intended to be implemented or extended by clients.
IEditorRegistry| Method Summary | |
|---|---|
IEditorMatchingStrategy |
getEditorMatchingStrategy()
Returns the editor matching strategy object for editors represented by this editor descriptor, or null
if there is no explicit matching strategy specified. |
String |
getId()
Returns the editor id. |
ImageDescriptor |
getImageDescriptor()
Returns the descriptor of the image for this editor. |
String |
getLabel()
Returns the label to show for this editor. |
boolean |
isInternal()
Returns whether this editor descriptor will open a regular editor part inside the editor area. |
boolean |
isOpenExternal()
Returns whether this editor descriptor will open an external editor in a new window outside the workbench. |
boolean |
isOpenInPlace()
Returns whether this editor descriptor will open an external editor in-place inside the editor area. |
| Method Detail |
public String getId()
For internal editors, this is the extension id as defined in the workbench registry; for external editors, it is path and file name of the external program.
getId in interface IWorkbenchPartDescriptorpublic ImageDescriptor getImageDescriptor()
getImageDescriptor in interface IWorkbenchPartDescriptorpublic String getLabel()
getLabel in interface IWorkbenchPartDescriptorpublic boolean isInternal()
true if editor is inside editor area, and
false otherwisepublic boolean isOpenInPlace()
true if editor is in-place, and false
otherwisepublic boolean isOpenExternal()
true if editor is external, and false
otherwisepublic IEditorMatchingStrategy getEditorMatchingStrategy()
null
if there is no explicit matching strategy specified.
null if none
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.