com.inline.feature
Interface FeatureAction

All Known Implementing Classes:
AbstractFeatureAction

public interface FeatureAction
extends Displayable

A FeatureAction represents an operation that can be performed on a Feature. Lists of FeatureAction objects are produced by Features themselves.


Field Summary
static java.lang.String DISPLAY_TYPE_PREFIX
          By convention, this string is used as the prefix of the FeatureConstructors display type.
 
Method Summary
 boolean isEnabled()
          Can this action be performed?
 void perform()
          Executes the action.
 
Methods inherited from interface com.inline.feature.ui.Displayable
getDisplayProperties, getDisplayType
 

Field Detail

DISPLAY_TYPE_PREFIX

public static final java.lang.String DISPLAY_TYPE_PREFIX
By convention, this string is used as the prefix of the FeatureConstructors display type.
Method Detail

isEnabled

public boolean isEnabled()
Can this action be performed?

perform

public void perform()
Executes the action.