Class PluginXmlUtil
- java.lang.Object
-
- org.eclipse.emfforms.internal.editor.genmodel.util.PluginXmlUtil
-
public final class PluginXmlUtil extends java.lang.ObjectThis class is a utility class internally used for modifying plugin.xml files.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddEditorExtensionPoint(org.eclipse.core.resources.IFile file, java.lang.String editorClass, boolean defaultEditor, java.lang.String extensions, java.lang.String icon, java.lang.String id, java.lang.String name)Adds an editor extension point to the givenIFile.
-
-
-
Method Detail
-
addEditorExtensionPoint
public static void addEditorExtensionPoint(org.eclipse.core.resources.IFile file, java.lang.String editorClass, boolean defaultEditor, java.lang.String extensions, java.lang.String icon, java.lang.String id, java.lang.String name)Adds an editor extension point to the givenIFile.- Parameters:
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 editor
-
-