| java.lang.Object org.eclipse.pde.internal.ui.util.ModelModification
ModelModification | abstract public class ModelModification (Code) | | ModelModification class used my the PDEModelUtility
Subclass me to create changes to your models.
|
ModelModification | public ModelModification(IFile modelFile)(Code) | | Create a single model modification - used for modifying single AbstractEditingModels
Parameters: modelFile - the basic underlying file for the model you wish to modify. |
ModelModification | public ModelModification(IFile bundleFile, IFile xmlFile)(Code) | | Create a full IBundlePluginModelBase modification
Parameters: bundleFile - the MANIFEST.MF file Parameters: xmlFile - the plugin.xml/fragment.xml file for this modification (optional - can be null) |
ModelModification | public ModelModification(IProject project)(Code) | | Create a ModelModification based on the contents of the project
ie. if the project contains a MANIFEST.MF this will be tagged as a
fullBundleModification, otherwise (this project is an old-style plugin)
this will be a PluginModel/FragmentModel modification.
Parameters: project - |
getFile | final protected IFile getFile()(Code) | | |
getManifestFile | final protected IFile getManifestFile()(Code) | | |
getPropertiesFile | final protected IFile getPropertiesFile()(Code) | | |
getXMLFile | final protected IFile getXMLFile()(Code) | | |
isFullBundleModification | final protected boolean isFullBundleModification()(Code) | | |
modifyModel | abstract protected void modifyModel(IBaseModel model, IProgressMonitor monitor) throws CoreException(Code) | | Invoke this using PDEModelUtility.modifyModel(ModelModification modification)
Clients / subclasses should not invoke this method.
Parameters: model - Parameters: monitor - throws: CoreException - |
saveOpenEditor | public boolean saveOpenEditor()(Code) | | |
|
|