站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

Models.ActionPerformer (NetBeans View Model) - NetBeans API Javadoc 5.0.0

 

org.netbeans.spi.viewmodel
Interface Models.ActionPerformer

Enclosing interface:
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

public 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

public 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)

 

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