|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFileEditorMapping
An association between a file name/extension and a list of known editors for files of that type.
The name and extension can never empty or null. The name may contain the single wild card character (*) to indicate the editor applies to all files with the same extension (e.g. *.doc). The name can never embed the wild card character within itself (i.e. rep*)
This interface is not intended to be implemented by clients.
IEditorRegistry.getFileEditorMappings()
Method Summary | |
---|---|
IEditorDescriptor |
getDefaultEditor()
Returns the default editor registered for this type mapping. |
IEditorDescriptor[] |
getDeletedEditors()
Returns the list of editors formerly registered for this type mapping which have since been deleted. |
IEditorDescriptor[] |
getEditors()
Returns the list of editors registered for this type mapping. |
java.lang.String |
getExtension()
Returns the file's extension for this type mapping. |
ImageDescriptor |
getImageDescriptor()
Returns the descriptor of the image to use for a file of this type. |
java.lang.String |
getLabel()
Returns the label to use for this mapping. |
java.lang.String |
getName()
Returns the file's name for this type mapping. |
Method Detail |
---|
IEditorDescriptor getDefaultEditor()
null
if there
is no default editor registeredIEditorDescriptor[] getEditors()
IEditorDescriptor[] getDeletedEditors()
java.lang.String getExtension()
ImageDescriptor getImageDescriptor()
The image is obtained from the default editor. A default file image is returned if no default editor is available.
java.lang.String getLabel()
java.lang.String getName()
|
Eclipse Platform Release 3.2 |
|||||||||
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, 2006. All rights reserved.