org.grinvin.worksheet.actions

Class RenameGraphListElementAction

Implemented Interfaces:
GraphListElementListener

public class RenameGraphListElementAction
extends AbstractGraphListElementAction
implements GraphListElementListener

Action which can be used to rename a certain graph list element. The graph list element must be set before the action can be performed.

Field Summary

Fields inherited from class org.grinvin.worksheet.actions.AbstractGraphListElementAction

graphListElements

Constructor Summary

RenameGraphListElementAction()
Create an action of this type.
RenameGraphListElementAction(GraphListElement graphListElement)
Create an action of this type for the given graph list element.
RenameGraphListElementAction(GraphListElement[] graphListElements)
Create an action of this type for the given graph list element.

Method Summary

void
actionPerformed(ActionEvent ev)
void
graphListElementGraphChanged(GraphListElement element)
void
graphListElementInvariantComputed(GraphListElement element, Invariant invariant)
void
graphListElementNameChanged(GraphListElement element)
void
graphListElementURIChanged(GraphListElement element)
protected void
setEnabled()
void
setGraphListElements(GraphListElement[] graphListElements)
void
setParent(Component parent)
Set the parent for the dialog window.

Methods inherited from class org.grinvin.worksheet.actions.AbstractGraphListElementAction

setEnabled, setGraphListElements, setGraphListElements

Constructor Details

RenameGraphListElementAction

public RenameGraphListElementAction()

RenameGraphListElementAction

public RenameGraphListElementAction(GraphListElement graphListElement)
Create an action of this type for the given graph list element.

RenameGraphListElementAction

public RenameGraphListElementAction(GraphListElement[] graphListElements)
Create an action of this type for the given graph list element.

Method Details

actionPerformed

public void actionPerformed(ActionEvent ev)

graphListElementGraphChanged

public void graphListElementGraphChanged(GraphListElement element)
Specified by:
graphListElementGraphChanged in interface GraphListElementListener

graphListElementInvariantComputed

public void graphListElementInvariantComputed(GraphListElement element,
                                              Invariant invariant)
Specified by:
graphListElementInvariantComputed in interface GraphListElementListener

graphListElementNameChanged

public void graphListElementNameChanged(GraphListElement element)
Specified by:
graphListElementNameChanged in interface GraphListElementListener

graphListElementURIChanged

public void graphListElementURIChanged(GraphListElement element)
Specified by:
graphListElementURIChanged in interface GraphListElementListener

setEnabled

protected void setEnabled()
Overrides:
setEnabled in interface AbstractGraphListElementAction

setGraphListElements

public void setGraphListElements(GraphListElement[] graphListElements)
Overrides:
setGraphListElements in interface AbstractGraphListElementAction

setParent

public void setParent(Component parent)
Set the parent for the dialog window.