org.netbeans.spi.viewmodel/2 1.9.22

org.netbeans.spi.viewmodel
Interface Models.ActionPerformer

Enclosing class:
Models

public static interface Models.ActionPerformer

Support interface for Models.createAction(String,Models.ActionPerformer,int) method.


Method Summary
 boolean isEnabled(Object node)
          Returns enabled property state for given node.
 void perform(Object[] nodes)
          Called when action action is performed for nodes.
 

Method Detail

isEnabled

boolean isEnabled(Object node)
Returns enabled property state for given node.

Parameters:
node - the node the action shouuld be applied to
Returns:
enabled property state for given node
See Also:
Models.createAction(String,Models.ActionPerformer,int)

perform

void perform(Object[] nodes)
Called when action action is performed for nodes.

Parameters:
nodes - nodes the action shouuld be applied to
See Also:
Models.createAction(String,Models.ActionPerformer,int)

org.netbeans.spi.viewmodel/2 1.9.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.