Package org.netxms.client.objecttools
Interface ObjectAction
- All Known Implementing Classes:
GraphDefinition
,ObjectTool
,ObjectToolDetails
public interface ObjectAction
Generic interface for user-defined object actions (object tools, graph templates, etc.)
-
Method Summary
Modifier and TypeMethodDescriptionGet menu filter associated with the toolint
Get tool typeboolean
isApplicableForObject
(AbstractObject object) Check if this action is applicable to given objectvoid
setMenuFilter
(ObjectMenuFilter filter) Sets menu filter for the tool
-
Method Details
-
getMenuFilter
ObjectMenuFilter getMenuFilter()Get menu filter associated with the tool- Returns:
- menu filter associated with the tool
-
setMenuFilter
Sets menu filter for the tool- Parameters:
filter
- new menu filter
-
getToolType
int getToolType()Get tool type- Returns:
- tool type
-
isApplicableForObject
Check if this action is applicable to given object- Parameters:
object
- object- Returns:
- true if applicable
-