|
Eclipse Platform Release 3.0 |
||||||||||
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 | |
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 IWorkbenchPartDescriptor
public ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface IWorkbenchPartDescriptor
public String getLabel()
getLabel
in interface IWorkbenchPartDescriptor
public 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
otherwise
|
Eclipse Platform Release 3.0 |
||||||||||
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, 2004. All rights reserved.