<TAB_ACTION> : Tab action

Java class : leon.info.LyTabAction

ROLE

This tag defines an action composed of other actions presented in tabs. No interaction is managed between the actions that are presented in the different tabs.

ATTRIBUTES

<!ATTLIST TAB_ACTION
	  id ID #REQUIRED
	  template IDREF #IMPLIED
	  builder CDATA #IMPLIED
	  controller CDATA #IMPLIED
	  behavior CDATA #IMPLIED
	  clientContext NMTOKEN #IMPLIED
	  target CDATA #IMPLIED
	  abstract ( true | false) "false"
	  type ( TABS | WIZARD) "TABS">
Attribute Mand. Description Default
id yes Identifier of the tab action.  
template no Reference to the action used as template.  
builder no Full name of the Java class that builds the view at the start of the action. This class should inherit from the leon.control.builder.LyTabAreaBuilder class. If both attributes view and builder are filled in, the builder information is discarded.  
controller no Full name of the Java class, this is responsible for the whole procedure for the action. This class should inherit from the leon.control.LyTabAreaController class. The use of this attribute is reserved for new actions that do not inherit from generic actions. Otherwise, it is recommended to use the behavior attribute to define a class that describe specific behaviours.  
behavior no Full name of the Java class that defines specific behaviours for this action. This class should inherit from the leon.app.behavior.LyActionBehavior class.  
clientContext no This attribute is used to give the index of the action that is contextual (its content depends on of the context). By default, all actions of the tab action are contextual. The value '-1' can be used to specify that none of them is contextual.  
target no Target area of the action.  
abstract no Indicates whether the action is abstract or not. An abstract action is replaced for a given class by the real corresponding action. This one is determined by searching on the given class an action with this abstract action as a template. false
type no Type of the tab action. Defines how the tab action is displayed and behaves: either as tabs (TABS) or as a wizard (WIZARD) that shows the actions step by step. TABS

ELEMENTS

<!ELEMENT TAB_ACTION 
	  (NAME?,
	   ALIAS?,
	   MENU?,
	   GROUP?,
	   PREFIX?,
	   MIN?,
	   MAX?,
	   A_MARKS*,
	   (FILTER | FILTER_REF)?,
	   DATA*,
	   TIP?,
	   SHORTCUT?,
	   GEOMETRY?,
	   PARAMETER_DECL*,
	   PARAMETER*,
	   ACTIONS*,
	   RESOURCE*,
	   (%AN_ACTION; | ACTION_REF),
	   (%AN_ACTION; | ACTION_REF)+)>
Element Mand. Mult. Description
NAME no no Name of the tab action.
ALIAS no no Short name of the tab action.
MENU no no Name of the menu in which the action is added.
GROUP no no Name of the group to which the tab action belongs.
PREFIX no no Prefix of the names of the files associated to the tab action.
MIN no no Minimum number of selected objects, which is required to authorize the tab action to be executed.
MAX no no Maximum number of selected objects, which is required to authorize the tab action to be executed.
A_MARKS no yes Marks of the action.
FILTER yes no Filter. This element sets a condition for the selected objects to be allowed as targets of the current tab action.
FILTER_REF yes no Reference to a filter. This element sets a condition for the selected objects to be allowed as targets of the current tab action.
DATA no yes Specific data of the tab action.
TIP no no Help on the tab action.
SHORTCUT no no Key shortcut for executing the tab action.
GEOMETRY no no Geometry of the tab action view.
PARAMETER_DECL no yes Declaration of parameters of the tab action.
PARAMETER no yes Setting of parameters of the tab action.
ACTIONS no yes List of the available actions that can be invoked from the view of the current tab action.
RESOURCE no yes Resources of the compound action.
AN_ACTION
yes no First action presented in the tab action.
ACTION_REF yes no Reference of the first action presented in the tab action.
AN_ACTION
yes no Other actions presented in the tab action.
ACTION_REF yes no Reference of the other actions presented in the tab action.

SAMPLE

<TAB_ACTION id="tableTabs">
	<NAME value="Lists"/>
	<PREFIX value="inventory"/>
	<ACTION_REF idref="_table" class="networksClass"/>
	<ACTION_REF idref="_table" class="muxClass"/>
	<ACTION_REF idref="_table" class="cardClass"/>
	<ACTION_REF idref="_table" class="portClass"/>
</TAB_ACTION>