org.grinvin.list.actions

Class AbstractInvariantValueAction

Known Direct Subclasses:
RecalculateInvariantValueAction, ShowDetailsAction

public abstract class AbstractInvariantValueAction
extends SimpleAction

Abstract implementation for invariant value actions.

Field Summary

protected GraphListElement
gle
protected InvariantValue
iv

Constructor Summary

AbstractInvariantValueAction(InvariantValue iv, GraphListElement gle, String resourceID)
Create an action of this type for the given invariant value and graph list element.

Method Summary

protected void
setEnabled(InvariantValue value)
protected void
setEnabled(GraphListElement element)
void
setGraphListElement(GraphListElement gle)
void
setInvariantValue(InvariantValue iv)

Field Details

gle

protected GraphListElement gle

iv

protected InvariantValue iv

Constructor Details

AbstractInvariantValueAction

public AbstractInvariantValueAction(InvariantValue iv,
                                    GraphListElement gle,
                                    String resourceID)
Create an action of this type for the given invariant value and graph list element.

Method Details

setEnabled

protected void setEnabled(InvariantValue value)

setEnabled

protected void setEnabled(GraphListElement element)

setGraphListElement

public void setGraphListElement(GraphListElement gle)

setInvariantValue

public void setInvariantValue(InvariantValue iv)