ilog.cpl.equipment.action.toolbar
Class IlpEquipmentInteractorAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
          extended by ilog.cpl.graph.action.toolbar.IlpGraphInteractorAction
              extended by ilog.cpl.equipment.action.toolbar.IlpEquipmentInteractorAction
All Implemented Interfaces:
InteractorListener, ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
IlpEquipmentEditGroupAction, IlpEquipmentEditLinkPortAction, IlpEquipmentEditObjectAction, IlpEquipmentSelectAction

public class IlpEquipmentInteractorAction
extends IlpGraphInteractorAction

This action sets an interactor on the view. The button remains highlighted as long as the interactor is active.

Since:
JTGO 4.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
protected IlpEquipmentInteractorAction(IlpViewsView view)
          Creates the action.
  IlpEquipmentInteractorAction(IlpViewsView view, AbstractButton button, IlpViewsViewInteractor interactor)
          Creates the action.
protected IlpEquipmentInteractorAction(IlpViewsView view, AbstractButton button, IlvManagerViewInteractor interactor)
          Creates the action.
 
Method Summary
 
Methods inherited from class ilog.cpl.graph.action.toolbar.IlpGraphInteractorAction
actionPerformed, belongsToThisInteractor, getCplInteractor, getIlpInteractor, getIlvInteractor, interactorChanged, setButton, setIlpInteractor, setIlvInteractor
 
Methods inherited from class ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
getContext, getView
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

IlpEquipmentInteractorAction

protected IlpEquipmentInteractorAction(IlpViewsView view,
                                       AbstractButton button,
                                       IlvManagerViewInteractor interactor)
Creates the action.

Parameters:
view - The view on which to operate.
button - Button to which the action is attached.
interactor - The interactor to activate when the button is pressed.

IlpEquipmentInteractorAction

public IlpEquipmentInteractorAction(IlpViewsView view,
                                    AbstractButton button,
                                    IlpViewsViewInteractor interactor)
Creates the action.

Parameters:
view - The view on which to operate.
button - Button to which the action is attached.
interactor - The interactor to activate when the button is pressed.

IlpEquipmentInteractorAction

protected IlpEquipmentInteractorAction(IlpViewsView view)
Creates the action.

An interactor must be registered to this action prior to use.

Parameters:
view - The view on which to operate.

Use this constructor when using cascading style sheets to add new buttons to an equipment component toolbar. Please refer to IlpToolBarRenderer for information on how your new toolbar actions should be registered.

Since:
JTGO 4.0
See Also:
IlpGraphInteractorAction.setIlpInteractor(ilog.cpl.graphic.views.IlpViewsViewInteractor), IlpGraphInteractorAction.setIlvInteractor(ilog.views.IlvManagerViewInteractor)


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.