io.sarl.apputils.eclipseextensions
Class EclipseExtensionsPlugin
All Superinterfaces:
org.osgi.framework.BundleActivator
class EclipseExtensionsPlugin
extends java.lang.Object
Eclipse plugin.
Maven Group Identifier:
io.sarl.apputils
Maven Artifact Identifier:
eclipseextensions
Since:
0.15
Field Summary
Modifier and type Field and description
public static val java.lang.String PLUGIN_ID
Identifier of the plugin.
Constructor Summary
Constructor and description
new
Construct an Eclipse plugin.
Action Summary
Modifier and type Action and description
org.eclipse.core.runtime.IStatus createOkStatus
Create a ok status.
org.eclipse.core.runtime.IStatus createStatus(int,String)
Create a status.
org.eclipse.core.runtime.IStatus createStatus(int,Throwable)
Create a status.
org.eclipse.core.runtime.IStatus createStatus(int,int,String)
Create a status.
org.eclipse.core.runtime.IStatus createStatus(int,int,Throwable)
Create a status.
org.eclipse.core.runtime.IStatus createStatus(int,int,String,Throwable)
Create a status.
static EclipseExtensionsPlugin getDefault
Replies the instance of the plugin.
static void setDefault(EclipseExtensionsPlugin)
Set the default instance of the plugin.
Field Details
PLUGIN_ID
public static val PLUGIN_ID : java.lang.String = "io.sarl.apputils.eclipseextensions"
Identifier of the plugin.
Constructor Details
new
new
Construct an Eclipse plugin.
Action Details
createOkStatus
def createOkStatus : org.eclipse.core.runtime.IStatus
Create a ok status.
Returns:
the status.
createStatus(int,String)
def createStatus(int,String) : org.eclipse.core.runtime.IStatus
Create a status.
Parameters:
severity - the severity level, see IStatus.
message - the message associated to the status.
Returns:
the status.
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.
createStatus(int,int,String)
def createStatus(int,int,String) : org.eclipse.core.runtime.IStatus
Create a status.
Parameters:
severity - the severity level, see IStatus.
code - the code of the error.
message - the message associated to the status.
Returns:
the status.
createStatus(int,int,Throwable)
def createStatus(int,int,Throwable) : org.eclipse.core.runtime.IStatus
Create a status.
Parameters:
severity - the severity level, see IStatus.
code - the code of the error.
cause - the cause of the problem.
Returns:
the status.
createStatus(int,int,String,Throwable)
def createStatus(int,int,String,Throwable) : org.eclipse.core.runtime.IStatus
Create a status.
Parameters:
severity - the severity level, see IStatus.
code - the code of the error.
message - the message associated to the status.
cause - the cause of the problem.
Returns:
the status.
getDefault
def getDefault : EclipseExtensionsPlugin
Replies the instance of the plugin.
Returns:
the default plugin instance.
setDefault(EclipseExtensionsPlugin)
def setDefault(EclipseExtensionsPlugin)
Set the default instance of the plugin.
Parameters:
defaultInstance - the default plugin instance.