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

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

public abstract class JspBasicModel
extends java.lang.Object

This class is associated with a JspBasicView. It contains all values and actions that support the associated view.

Author:
sylvain

Field Summary
protected  NodeView view
          Optional NodeView.
 
Constructor Summary
JspBasicModel(ProjectContext projectContext, NodePackage currentPackage)
          Constructor.
 
Method Summary
abstract  void actionPerformed()
          Method called when OK is clicked.
 java.lang.String getJspPath()
          This is the JSP path.
 java.lang.String getLabel()
          A label to display this jsp.
 NodePackage getNodePackage()
          Parent package.
 ProjectContext getProjectContext()
          Get project context.
 NodeView getView()
          Get optional view.
 void openJsp()
          Open JSP is delegated to JspGenericViewManager.
 void setJspPath(java.lang.String jspPath)
          This is the JSP path.
 void setLabel(java.lang.String label)
          A label to display this jsp.
 void setNodePackage(NodePackage nodePackage)
          Parent package.
 void setProjectContext(ProjectContext projectContext)
          Set project context.
 void setView(NodeView view)
          Set optional view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

protected NodeView view
Optional NodeView.

Constructor Detail

JspBasicModel

public JspBasicModel(ProjectContext projectContext,
                     NodePackage currentPackage)
Constructor.

Method Detail

openJsp

public void openJsp()
Open JSP is delegated to JspGenericViewManager. It opens JSP file if it exists, or it create it.


getJspPath

public java.lang.String getJspPath()
This is the JSP path.


setJspPath

public void setJspPath(java.lang.String jspPath)
This is the JSP path.


getLabel

public java.lang.String getLabel()
A label to display this jsp.


setLabel

public void setLabel(java.lang.String label)
A label to display this jsp.


actionPerformed

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


getView

public NodeView getView()
Get optional view.


setView

public void setView(NodeView view)
Set optional view.


getNodePackage

public NodePackage getNodePackage()
Parent package.


setNodePackage

public void setNodePackage(NodePackage nodePackage)
Parent package.


getProjectContext

public ProjectContext getProjectContext()
Get project context.


setProjectContext

public void setProjectContext(ProjectContext projectContext)
Set project context.