com.mindtree.techworks.insight.gui.action
Interface IAction

All Known Implementing Classes:
EventListPresentation, InsightMenuItem, InsightToolbarButton

public interface IAction

The IAction interface represents all menu items and tool bar button instances in Insight. It contains specific behavior for enabling and disabling and data related call-back from the Controller

Version:
1.0, 05/03/11
Author:
Regunath B
See Also:
Controller, Presentation

Field Summary
static int ALL
           
static int MUTATION
           
static int[][] MUTUAL_EXCLUSION_TYPES
          Useful array of mutual exclusion type
static int NO_CONSTRAINTS
           
static int NONE
          Useful constants to identify the broad types of actions
static int STARTUP
           
static int TAIL
           
static int VIEW
           
 
Method Summary
 int getType()
          Returns the type of this IAction
 void setEnabled(boolean enable)
          Sets the enabled state of this action
 

Field Detail

NONE

static final int NONE
Useful constants to identify the broad types of actions

See Also:
Constant Field Values

NO_CONSTRAINTS

static final int NO_CONSTRAINTS
See Also:
Constant Field Values

MUTATION

static final int MUTATION
See Also:
Constant Field Values

TAIL

static final int TAIL
See Also:
Constant Field Values

VIEW

static final int VIEW
See Also:
Constant Field Values

STARTUP

static final int STARTUP
See Also:
Constant Field Values

ALL

static final int ALL
See Also:
Constant Field Values

MUTUAL_EXCLUSION_TYPES

static final int[][] MUTUAL_EXCLUSION_TYPES
Useful array of mutual exclusion type

Method Detail

getType

int getType()
Returns the type of this IAction

Returns:
valid type defined in this interface

setEnabled

void setEnabled(boolean enable)
Sets the enabled state of this action



Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.