public final class PluginXmlUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addEditorExtensionPoint(org.eclipse.core.resources.IFile file,
String editorClass,
boolean defaultEditor,
String extensions,
String icon,
String id,
String name)
Adds an editor extension point to the given
IFile . |
public static void addEditorExtensionPoint(org.eclipse.core.resources.IFile file, String editorClass, boolean defaultEditor, String extensions, String icon, String id, String name)
IFile
.file
- the file to modifyeditorClass
- the editor class to registerdefaultEditor
- whether to register it as a default editorextensions
- the extensions to register for (comma-separated)icon
- the icon the registerid
- the ID of the extension contributionname
- the user-readable name of the editorCopyright © 2018. All rights reserved.