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

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

 

org.netbeans.spi.viewmodel
Interface Models.ActionPerformer

Enclosing interface:
Models

public static interface Models.ActionPerformer

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


Method Summary
 boolean isEnabled(Object node)
          Returns enabled property state for given set of nodes.
 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 set of nodes.

Returns:
enabled property state for given set of nodes
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 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.