Class GRLPlugin
GRLPlugin
- public class GRLPlugin
The GRL plugin. This plugin will perform GRL analyses, and add
modelling shortcuts to the toolbar.
Method Summary |
java.util.Collection |
getMenubarMethods(View v)
Returns a collection of our Method s that are to be
placed on the OME menubar. |
java.util.Collection |
getPopupMethods(View view)
Returns a collection of our Method s that are to be
placed in the OME popup-menu (when the user clicks the right mouse
button). |
java.util.Collection |
getToolbarMethods(View view)
Returns a collection of our Method s that are to be
placed on the OME toolbar. |
static boolean |
isCompatibleWith(OMEModel model)
Tests for presence of basic GRL type. |
void |
promptParameterization(ViewObject vo,
int source)
Prompts user to parameterize the elements. |
void |
promptUnparameterization(ViewObject vo)
|
GRLPlugin
public GRLPlugin(OMEModel m)
isCompatibleWith
public static boolean isCompatibleWith(OMEModel model)
- Tests for presence of basic GRL type.
getToolbarMethods
public java.util.Collection getToolbarMethods(View view)
- Returns a collection of our
Method
s that are to be
placed on the OME toolbar.
getMenubarMethods
public java.util.Collection getMenubarMethods(View v)
- Returns a collection of our
Method
s that are to be
placed on the OME menubar.
getPopupMethods
public java.util.Collection getPopupMethods(View view)
- Returns a collection of our
Method
s that are to be
placed in the OME popup-menu (when the user clicks the right mouse
button).
promptParameterization
public void promptParameterization(ViewObject vo,
int source)
- Prompts user to parameterize the elements.
We had better receive a GraphicViewElement.
There is not constrain on the name of the element.
It is possible that two elements have an identical name.
promptUnparameterization
public void promptUnparameterization(ViewObject vo)