public class PluginXmlModifier
extends java.lang.Object
Constructor and Description |
---|
PluginXmlModifier() |
Modifier and Type | Method and Description |
---|---|
void |
addExtensions(java.lang.Iterable<ExtensionData> contributedExtensions)
Adds a collection of extensions to the current xml model.
|
void |
loadPluginXml(org.eclipse.core.resources.IProject project)
Loads the plugin.xml file from the selected project.
|
void |
removeExtensions(java.lang.Iterable<org.eclipse.xtext.xbase.lib.Pair<java.lang.String,java.lang.String>> removedExtensions)
Removes a collection of extensions from the current xml model.
|
void |
savePluginXml()
Saves the changes to the plugin.xml file loaded previously.
|
public void loadPluginXml(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
project
- org.eclipse.core.runtime.CoreException
public void savePluginXml() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void addExtensions(java.lang.Iterable<ExtensionData> contributedExtensions)
public void removeExtensions(java.lang.Iterable<org.eclipse.xtext.xbase.lib.Pair<java.lang.String,java.lang.String>> removedExtensions)
removedExtensions
-