io.sarl.lang.pythongenerator
Class PyGeneratorPlugin
All Superinterfaces:
org.osgi.framework.BundleActivator
class PyGeneratorPlugin
extends java.lang.Object
Utility functions for the plugin.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
pythongenerator
Field Summary
Modifier and type Field and description
public static val java.lang.String PLUGIN_ID
Identifier of the plugin.
public static val java.lang.String PREFERENCE_ID
Identifier of the preference container.
Constructor Summary
Constructor and description
new
Construct an Eclipse plugin for SARL.
Action Summary
Modifier and type Action and description
org.eclipse.core.runtime.IStatus createStatus(int,Throwable)
Create a status.
static PyGeneratorPlugin getDefault
Replies the instance of the plugin.
static void setDefault(PyGeneratorPlugin)
Set the default instance of the plugin.
Field Details
PLUGIN_ID
public static val PLUGIN_ID : java.lang.String = "io.sarl.pythongenerator.generator"
Identifier of the plugin.
PREFERENCE_ID
public static val PREFERENCE_ID : java.lang.String = "io.sarl.pythongenerator.generator"
Identifier of the preference container.
Constructor Details
new
new
Construct an Eclipse plugin for SARL.
Action Details
createStatus(int,Throwable)
def createStatus(int,Throwable) : org.eclipse.core.runtime.IStatus
Create a status.
Parameters:
severity - the severity level, see IStatus.
cause - the cause of the problem.
Returns:
the status.
getDefault
def getDefault : PyGeneratorPlugin
Replies the instance of the plugin.
Returns:
the default plugin instance.
setDefault(PyGeneratorPlugin)
def setDefault(PyGeneratorPlugin)
Set the default instance of the plugin.
Parameters:
defaultInstance - the default plugin instance.