|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.osate.ui.actions.AbstractAaxlAction
edu.cmu.sei.osate.ui.actions.AaxlReadOnlyActionAsJob
edu.cmu.sei.osate.ui.actions.InstantiateAadl
public final class InstantiateAadl
InstantiateAadl implements workbench action delegate. The action proxy will be created by the workbench and shown in the UI. When the user tries to use the action, this delegate will be created and execution will be delegated to it.
InstantiateAadl will create an instance model from the selected system implementation.
IWorkbenchWindowActionDelegate
Constructor Summary | |
---|---|
InstantiateAadl()
|
Method Summary | |
---|---|
void |
doAaxlAction(org.eclipse.core.runtime.IProgressMonitor monitor,
AObject obj)
The action has been activated. |
protected java.lang.String |
getActionName()
Get the name of the action to display in the Job, etc. |
protected org.osgi.framework.Bundle |
getBundle()
Get the bundle ("plug-in") to attribute internal errors to. |
protected java.lang.String |
getMarkerType()
Get the type of the markers that the action might create. |
Methods inherited from class edu.cmu.sei.osate.ui.actions.AaxlReadOnlyActionAsJob |
---|
createJob |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstantiateAadl()
Method Detail |
---|
protected org.osgi.framework.Bundle getBundle()
AbstractAaxlAction
Subclasses should override this method to return the bundle
in which they are located. The default value is to return the
bundle associated with edu.cmu.sei.osate.ui
.
getBundle
in class AbstractAaxlAction
protected java.lang.String getMarkerType()
AbstractAaxlAction
MarkerAnalysisErrorReporter
for that marker type for
the resource being analyzed. Any existing markers of that type on the
resource will be removed.
Subclasses should override this method to change the marker type used by
the action. The initial implementation returns the generic
"AadlObjectMarker"
marker type, and will therefore cause
all existing OSATE markers to be removed from the resource.
getMarkerType
in class AbstractAaxlAction
"AadlObjectMarker"
.AbstractAaxlAction.getDefaultAnalysisErrorReporterFactory()
,
AbstractAaxlAction.getAnalysisErrorReporterFactory()
public void doAaxlAction(org.eclipse.core.runtime.IProgressMonitor monitor, AObject obj)
doAaxlAction
in class AbstractAaxlAction
monitor
- The progress monitor to use to provide feedback about the
action and to check for cancellation.obj
- The currently selected AObject in the workspace.protected java.lang.String getActionName()
AaxlReadOnlyActionAsJob
getActionName
in class AaxlReadOnlyActionAsJob
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |