com.alveole.studio.web.packager.dialogs
Class Struts2ActionShortModel

java.lang.Object
  extended by com.alveole.studio.web.packager.dialogs.Struts2ActionShortModel

public abstract class Struts2ActionShortModel
extends java.lang.Object

Model associated with Struts2ActionShortView.

Author:
sylvain

Constructor Summary
Struts2ActionShortModel(ProjectContext context, NodePackage parentPackage)
          Constructor.
 
Method Summary
abstract  void actionPerformed()
          Method called when OK was clicked.
 java.lang.String getActionClass()
           
 java.lang.String getActionMethod()
           
 ProjectContext getContext()
           
 java.lang.String getLabel()
          The label.
 NodeAction getNodeAction()
           
 java.lang.String getPackageName()
           
 NodePackage getParentPackage()
           
 java.lang.String getPath()
           
 void gotoActionClass()
          Opens Action Java Source file.
 void gotoActionMethod()
          Opens Action Java Source file.
 void setActionClass(java.lang.String actionClass)
           
 void setActionMethod(java.lang.String actionMethod)
           
 void setContext(ProjectContext context)
           
 void setLabel(java.lang.String label)
          The label.
 void setNodeAction(NodeAction nodeAction)
           
 void setPackageName(java.lang.String packageName)
           
 void setParentPackage(NodePackage parentPackage)
           
 void setPath(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struts2ActionShortModel

public Struts2ActionShortModel(ProjectContext context,
                               NodePackage parentPackage)
Constructor.

Parameters:
context -
Method Detail

actionPerformed

public abstract void actionPerformed()
Method called when OK was clicked.


getLabel

public java.lang.String getLabel()
The label.


setLabel

public void setLabel(java.lang.String label)
The label.


getPath

public java.lang.String getPath()
Returns:
the path

setPath

public void setPath(java.lang.String path)
Parameters:
path - the path to set

getActionClass

public java.lang.String getActionClass()
Returns:
the actionClass

setActionClass

public void setActionClass(java.lang.String actionClass)
Parameters:
actionClass - the actionClass to set

getActionMethod

public java.lang.String getActionMethod()
Returns:
the actionMethod

setActionMethod

public void setActionMethod(java.lang.String actionMethod)
Parameters:
actionMethod - the actionMethod to set

getContext

public ProjectContext getContext()
Returns:
the context

setContext

public void setContext(ProjectContext context)
Parameters:
context - the context to set

getParentPackage

public NodePackage getParentPackage()
Returns:
the parentPackage

setParentPackage

public void setParentPackage(NodePackage parentPackage)
Parameters:
parentPackage - the parentPackage to set

getNodeAction

public NodeAction getNodeAction()
Returns:
the nodeAction

setNodeAction

public void setNodeAction(NodeAction nodeAction)
Parameters:
nodeAction - the nodeAction to set

gotoActionClass

public void gotoActionClass()
Opens Action Java Source file.


gotoActionMethod

public void gotoActionMethod()
Opens Action Java Source file.


getPackageName

public java.lang.String getPackageName()
Returns:
the packageName

setPackageName

public void setPackageName(java.lang.String packageName)
Parameters:
packageName - the packageName to set