public class CActionImportanceOrder extends DefaultDockActionImportanceOrder
DockActionImportanceOrder
searches for the annotation DockActionImportance
which may
be added to a CAction
or to a DockAction
.ORDER
Constructor and Description |
---|
CActionImportanceOrder() |
Modifier and Type | Method and Description |
---|---|
protected double |
getImportance(DockAction action)
Tells how important
action is. |
order
protected double getImportance(DockAction action)
DefaultDockActionImportanceOrder
action
is. The default implementation just searches for
a DockActionImportance
, but subclasses may change the behavior.getImportance
in class DefaultDockActionImportanceOrder
action
- the action whose importance is searched