Package com.dassault_systemes.catweb.base.catlet.command |
|
Class PermanentCommandHeader
|
java.lang.Object
|
+-com.dassault_systemes.catweb.base.catlet.command.CmdHeader
|
+-com.dassault_systemes.catweb.base.catlet.command.PermanentCommandHeader
Framework : PortalBase
Module : PLBbase
public class PermanentCommandHeader
This kind of header is used for command which need to be always instantiated
Command is created when setCommandClassName method is called and is never
deleted. It can be usefull for Commands which need to listen the hookup
PermanentCommandHeader
PermanentCommandHeader()
Default constructor
setCommandClassName
void setCommandClassName(String classname)
Set the class name of the command to instantiate.
Does nothing as class name has already been setted in constructor
- Parameters:
classname
- - The class name of the command managed by the header.
setMasterCATlet
void setMasterCATlet(ICATlet catlet)
Sets the CATlet to which this command is associated
We use this method to instantiate the command and initialize it
We are sure at this point that everything has been initialized in the CmdHeader
This is only valid if the Command is attached to a ICATlet
- Parameters:
catlet
- - the ICATlet instance associated with this command header.
setCommandSelector
void setCommandSelector(CommandSelector selector)
Sets the command selector for this header
We use this method to instantiate the command and initialize it
We are sure at this point that everything has been initialized in the CmdHeader
This is only valid if the Command is attached to the Frame
- Parameters:
selector
- - the CommandSelector instance associated with this Command Header.
Copyright © 2000, Dassault Systèmes. All rights reserved