|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEditorDescriptor
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. |
java.lang.String |
getId()
Returns the editor id. |
ImageDescriptor |
getImageDescriptor()
Returns the descriptor of the image for this editor. |
java.lang.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 |
|---|
java.lang.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 IWorkbenchPartDescriptorImageDescriptor getImageDescriptor()
getImageDescriptor in interface IWorkbenchPartDescriptorjava.lang.String getLabel()
getLabel in interface IWorkbenchPartDescriptorboolean isInternal()
true if editor is inside editor area, and
false otherwiseboolean isOpenInPlace()
true if editor is in-place, and false
otherwiseboolean isOpenExternal()
true if editor is external, and false
otherwiseIEditorMatchingStrategy getEditorMatchingStrategy()
null
if there is no explicit matching strategy specified.
null if none
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.