edu.iu.iv.modeling.tarl
Class TarlPlugin

java.lang.Object
  |
  +--edu.iu.iv.modeling.tarl.TarlPlugin
All Implemented Interfaces:
Plugin

public class TarlPlugin
extends java.lang.Object
implements Plugin

This class defines the Plugin for the Tarl model

Author:
Jeegar T Maru
See Also:
Plugin

Constructor Summary
TarlPlugin()
          Creates a default instance of the Tarl Plugin
 
Method Summary
 java.lang.String getDefaultMenuPath()
          Returns the Default Menu Path for the TARL model
 java.lang.String getDescription()
          Returns the description of the model
 javax.swing.Icon getIcon()
          Returns the icon for the TARL model
 javax.swing.Icon getMenuIcon()
          Returns the menu icon for the TARL model
 PropertyMap getPropertyMap()
          Returns the property Map for the TARL plugin
 javax.swing.JInternalFrame getView(java.lang.Object model)
          Returns the view for the TARL model
 boolean supports(java.lang.Object model)
          Returns whether the plugin supports the specified model
 java.lang.String unsupportedReason(java.lang.Object model)
          Returns the reason for not supporting the specified model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TarlPlugin

public TarlPlugin()
Creates a default instance of the Tarl Plugin

Method Detail

getPropertyMap

public PropertyMap getPropertyMap()
Returns the property Map for the TARL plugin

Specified by:
getPropertyMap in interface Plugin
Returns:
the property map for the Tarl plugin

getDefaultMenuPath

public java.lang.String getDefaultMenuPath()
Returns the Default Menu Path for the TARL model

Specified by:
getDefaultMenuPath in interface Plugin
Returns:
the default menu path for the Tarl model

getDescription

public java.lang.String getDescription()
Returns the description of the model

Specified by:
getDescription in interface Plugin
Returns:
the description of the model

supports

public boolean supports(java.lang.Object model)
Returns whether the plugin supports the specified model

Specified by:
supports in interface Plugin
Parameters:
model - Specifies the model in question
Returns:
true, if the plugin supports the model

unsupportedReason

public java.lang.String unsupportedReason(java.lang.Object model)
Returns the reason for not supporting the specified model

Specified by:
unsupportedReason in interface Plugin
Parameters:
model - Specifies the model in question
Returns:
the string specifying the reason of not supporting the model
See Also:
edu.iu.iv.core.Plugin#unsupportedReason(java.lang.Object)

getIcon

public javax.swing.Icon getIcon()
Returns the icon for the TARL model

Returns:
the icon for the Tarl model

getView

public javax.swing.JInternalFrame getView(java.lang.Object model)
Returns the view for the TARL model

Specified by:
getView in interface Plugin
Parameters:
model - the model to get a view of or to be acted upon.
Returns:
the view for the Tarl model

getMenuIcon

public javax.swing.Icon getMenuIcon()
Returns the menu icon for the TARL model

Specified by:
getMenuIcon in interface Plugin
Returns:
the menu icon for the Tarl model