|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.ftt.ui.resources.core.editor.EditorUtils
public class EditorUtils
The EditorUtils class can be used to obtain the default editor
for a given resource.
The EditorUtils class is intended to handle all known resource types by
delegating to the appropriate IEditorUtils instance. Caller should invoke
this class instead of resource type specific IEditorUtils implementations
directly.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
org.eclipse.ui.IEditorDescriptor |
getDefaultEditor(Object file)
Returns the descriptor of the default editor for the given file object. |
static EditorUtils |
getInstance()
Returns the singleton instance of the EditorUtils class |
| Field Detail |
|---|
public static final String COPY_RIGHT
| Method Detail |
|---|
public static EditorUtils getInstance()
EditorUtils class
EditorUtils objectpublic org.eclipse.ui.IEditorDescriptor getDefaultEditor(Object file)
IEditorUtils
getDefaultEditor in interface IEditorUtilsfile - the file object that the editor would open
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||