Class ClassMakerPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.enterprisedomain.classmaker.core.ClassMakerPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class ClassMakerPlugin
extends org.eclipse.core.runtime.Plugin
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
bundleStateAsString
(int state) static org.eclipse.core.runtime.IStatus
createErrorStatus
(String message) static org.eclipse.core.runtime.Status
createErrorStatus
(Throwable exception) static org.eclipse.core.runtime.IStatus
createErrorStatus
(org.eclipse.core.runtime.CoreException exception) static org.eclipse.core.runtime.IStatus
createInfoStatus
(String message) static org.eclipse.core.runtime.IStatus
createOKStatus
(String message) static org.eclipse.core.runtime.IStatus
createWarningStatus
(String message) static org.eclipse.core.runtime.IStatus
createWarningStatus
(String message, Throwable exception) static org.eclipse.core.runtime.IStatus
createWarningStatus
(Throwable exception) static ClassMakerService
ClassMaker facade service.static PrintStream
static ClassMakerPlugin
static org.eclipse.core.runtime.jobs.ProgressProvider
static org.eclipse.core.runtime.IProgressMonitor
static Class<? extends org.eclipse.core.runtime.IProgressMonitor>
static Object[]
static <T> T
getService
(String serviceClass) static <T> T
getService
(String serviceClass, org.osgi.framework.BundleContext context) boolean
static void
runWithProgress
(org.eclipse.jface.operation.IRunnableWithProgress runnable) static void
setClientRunWrapper
(IRunWrapper wrapper) static void
setDefaultOutputStream
(PrintStream defaultOutputStream) static <T extends org.eclipse.core.runtime.IProgressMonitor>
voidsetMonitorParameters
(Class<T> monitorClass, Object... constructorParameters) static void
setPreviousProgressProvider
(org.eclipse.core.runtime.jobs.ProgressProvider previousProgressProvider) static void
setProgressMonitor
(org.eclipse.core.runtime.IProgressMonitor monitor) static void
void
setTurnOffAutoBuilding
(boolean turnOffAutoBuilding) void
start
(org.osgi.framework.BundleContext context) void
stop
(org.osgi.framework.BundleContext context) static void
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
Field Details
-
PLUGIN_ID
- See Also:
-
CONTRIBUTION_NATURE_ID
- See Also:
-
NATURE_ID
- See Also:
-
BUILDER_ID
- See Also:
-
STAGES_EXT_POINT
- See Also:
-
CUSTOMIZERS_EXT_POINT
- See Also:
-
PDE_PLUGIN_NATURE
- See Also:
-
JAVA_NATURE
- See Also:
-
MODEL_FOLDER_PREF_KEY
- See Also:
-
MODEL_RESOURCE_EXT_PREF_KEY
- See Also:
-
TURN_OFF_AUTO_BUILDING_PREF_KEY
- See Also:
-
-
Constructor Details
-
ClassMakerPlugin
public ClassMakerPlugin()
-
-
Method Details
-
getInstance
-
getClassMaker
ClassMaker facade service. Only for internal use.- Returns:
- ClassMakerService service instance
-
getService
-
getService
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.core.runtime.Plugin
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classorg.eclipse.core.runtime.Plugin
- Throws:
Exception
-
getDefaultOutputStream
-
setDefaultOutputStream
-
setRunnerWithProgress
-
runWithProgress
public static void runWithProgress(org.eclipse.jface.operation.IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException -
getProgressMonitor
public static org.eclipse.core.runtime.IProgressMonitor getProgressMonitor() -
setProgressMonitor
public static void setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor) -
setClientRunWrapper
-
wrapRun
-
getPreviousProgressProvider
public static org.eclipse.core.runtime.jobs.ProgressProvider getPreviousProgressProvider() -
setPreviousProgressProvider
public static void setPreviousProgressProvider(org.eclipse.core.runtime.jobs.ProgressProvider previousProgressProvider) -
setMonitorParameters
-
getProgressMonitorClass
-
getProgressMonitorClassConstructorParameters
-
isTurnOffAutoBuilding
public boolean isTurnOffAutoBuilding() -
setTurnOffAutoBuilding
public void setTurnOffAutoBuilding(boolean turnOffAutoBuilding) -
createOKStatus
-
createInfoStatus
-
createWarningStatus
-
createWarningStatus
-
createWarningStatus
-
createErrorStatus
-
createErrorStatus
-
createErrorStatus
public static org.eclipse.core.runtime.IStatus createErrorStatus(org.eclipse.core.runtime.CoreException exception) -
bundleStateAsString
-