|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.egf.pde.internal.ui.util.PDEModelUtility
public class PDEModelUtility
Your one stop shop for performing changes to your plug-in models.
Field Summary | |
---|---|
static String |
F_BUILD
|
static String |
F_FRAGMENT
|
static String |
F_MANIFEST
|
static String |
F_MANIFEST_FP
|
static String |
F_PLUGIN
|
static String |
F_PROPERTIES
|
Constructor Summary | |
---|---|
PDEModelUtility()
|
Method Summary | |
---|---|
static void |
connect(PDEFormEditor editor)
PDE editors should call this during their creation. |
static void |
disconnect(PDEFormEditor editor)
PDE editors should call this when they are closing down. |
static IPluginModelBase |
getActivePluginModel()
Returns an IPluginModelBase from the active ManifestEditor or null if no manifest editor is open. |
static BuildEditor |
getOpenBuildPropertiesEditor(IProject project)
Returns an open BuildEditor that is associated with this project. |
static ManifestEditor |
getOpenManifestEditor(IProject project)
Returns an open ManifestEditor that is associated with this project. |
static IEditingModel |
getOpenModel(IDocument doc)
|
static SchemaEditor |
getOpenSchemaEditor(IFile file)
Get the open schema editor rooted at the specified underlying file |
static SiteEditor |
getOpenUpdateSiteEditor(IProject project)
Returns an open SiteEditor that is associated with this project. |
static void |
modifyModel(ModelModification modification,
IProgressMonitor monitor)
Modify a model based on the specifications provided by the ModelModification parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String F_MANIFEST
public static final String F_MANIFEST_FP
public static final String F_PLUGIN
public static final String F_FRAGMENT
public static final String F_PROPERTIES
public static final String F_BUILD
Constructor Detail |
---|
public PDEModelUtility()
Method Detail |
---|
public static void connect(PDEFormEditor editor)
editor
- the editor to connect topublic static void disconnect(PDEFormEditor editor)
editor
- the pde editor to disconnect frompublic static ManifestEditor getOpenManifestEditor(IProject project)
project
-
public static BuildEditor getOpenBuildPropertiesEditor(IProject project)
project
-
public static SiteEditor getOpenUpdateSiteEditor(IProject project)
project
-
public static SchemaEditor getOpenSchemaEditor(IFile file)
file
-
public static IPluginModelBase getActivePluginModel()
public static IEditingModel getOpenModel(IDocument doc)
doc
-
public static void modifyModel(ModelModification modification, IProgressMonitor monitor)
modification
- monitor
-
CoreException
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.