|
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.FactoryComponentGeneratorHelper
public class FactoryComponentGeneratorHelper
Provides services when creating factory components or converting existing plug-ins in factory components.
Constructor Summary | |
---|---|
FactoryComponentGeneratorHelper()
|
Method Summary | |
---|---|
static void |
addEntryInBinaryBuild(IBuildModel buildModel_p,
String entryName_p)
Add an entry in the binary entry of the build.properties i.e bin.include. |
static void |
addFolderIn(String pluginId_p,
String folderName_p,
boolean updateBuildProperties_p,
IProgressMonitor monitor_p)
Create and add a new folder in given plug-in. |
static void |
addGeneratedSourceFolderIn(String pluginId_p,
boolean updateBuildProperties_p)
Create and add a new source folder named 'generated' in given plug-in. |
static void |
addGeneratedSourceFolderInLibrarySources(IBuildModel buildModel,
String entryName_p)
Add the 'generated' source folder in the source entry of the build.properties i.e 'SOURCE. |
static void |
addStandardFactoryComponentDependencies(String pluginId_p,
boolean optional_p)
Add the standard dependencies in given plug-in manifest. |
static boolean |
createGeneratedSourceFolder(IProject project_p)
Create a 'generated' source folder in given project. |
static WorkspaceBuildModel |
getBuildModel(IProject project_p)
Get the build model for given project. |
static String[] |
getStandardDependencies()
Return the standard dependencies for a factory component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryComponentGeneratorHelper()
Method Detail |
---|
public static void addGeneratedSourceFolderIn(String pluginId_p, boolean updateBuildProperties_p)
pluginId_p
- updateBuildProperties_p
- public static boolean createGeneratedSourceFolder(IProject project_p)
project_p
-
true
means successfully created.public static void addFolderIn(String pluginId_p, String folderName_p, boolean updateBuildProperties_p, IProgressMonitor monitor_p)
pluginId_p
- folderName_p
- updateBuildProperties_p
- monitor_p
- public static void addGeneratedSourceFolderInLibrarySources(IBuildModel buildModel, String entryName_p)
buildModel
- entryName_p
- if null
default entry is used i.e '.'public static void addEntryInBinaryBuild(IBuildModel buildModel_p, String entryName_p)
buildModel_p
- public static WorkspaceBuildModel getBuildModel(IProject project_p)
project_p
-
public static void addStandardFactoryComponentDependencies(String pluginId_p, boolean optional_p)
getStandardDependencies()
.
pluginId_p
- optional_p
- public static String[] getStandardDependencies()
org.eclipse.egf.core
plug-in and org.eclipse.egf.pattern
plug-in
|
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.