Class GRLPlugin

GRLPlugin

public class GRLPlugin

The GRL plugin. This plugin will perform GRL analyses, and add modelling shortcuts to the toolbar.


Constructor Summary
GRLPlugin(OMEModel m)
           
 
Method Summary
 java.util.Collection getMenubarMethods(View v)
          Returns a collection of our Methods that are to be placed on the OME menubar.
 java.util.Collection getPopupMethods(View view)
          Returns a collection of our Methods 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 Methods 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)
           
 

Constructor Detail

GRLPlugin

public GRLPlugin(OMEModel m)
Method Detail

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 Methods that are to be placed on the OME toolbar.

getMenubarMethods

public java.util.Collection getMenubarMethods(View v)
Returns a collection of our Methods that are to be placed on the OME menubar.

getPopupMethods

public java.util.Collection getPopupMethods(View view)
Returns a collection of our Methods 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)