Class NFRPlugin

NFRPlugin

public class NFRPlugin

This class serves as a plugin that adds all the functionality needed for the IStar framework. It currently contains methods for creating IStar elements and links. It is hoped that in the future, this plugin will contain the code for performing IStar analyses.


Constructor Summary
NFRPlugin(OMEModel m)
          Creates a NFRPlugin for the specified model.
 
Method Summary
 java.util.Collection getMenubarMethods(View v)
          Returns a collection of NFR specific Methods that are to be placed on the OME menubar.
 java.util.Collection getPopupMethods(View v)
          Returns a collection of NFR specific 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 NFR specific Methods that are to be placed on the OME toolbar.
static boolean isCompatibleWith(OMEModel model)
          Tests if the specified model supports the NFR framework.
 

Constructor Detail

NFRPlugin

public NFRPlugin(OMEModel m)
Creates a NFRPlugin for the specified model.
Parameters:
m - the model for which the NFRPlugin is constructed for.
Method Detail

getToolbarMethods

public java.util.Collection getToolbarMethods(View view)
Returns a collection of NFR specific Methods that are to be placed on the OME toolbar.

getMenubarMethods

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

getPopupMethods

public java.util.Collection getPopupMethods(View v)
Returns a collection of NFR specific Methods that are to be placed in the OME popup-menu (when the user clicks the right mouse button).

isCompatibleWith

public static boolean isCompatibleWith(OMEModel model)
Tests if the specified model supports the NFR framework.
Parameters:
model - the model which we check if it supports the NFR framework.