Class GraphComponentEditComponent
java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
org.graffiti.plugin.editcomponent.GraphComponentEditComponent
- All Implemented Interfaces:
EventListener,AttributeListener,EdgeListener,GraphListener,NodeListener,TransactionListener,ValueEditComponent
- Direct Known Subclasses:
SingleGraphElementEditComponent
public abstract class GraphComponentEditComponent extends AbstractValueEditComponent
This class provides an edit component for parts of a graph.
- See Also:
SingleGraphElementEditComponent,SelectionEditComponent
-
Field Summary
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
showEmptyFields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING -
Method Summary
Modifier and Type Method Description voidpostAttributeAdded(AttributeEvent e)Called after an attribute as been added.voidpostAttributeChanged(AttributeEvent e)Called after a change of an attribute took place.voidpostAttributeRemoved(AttributeEvent e)Called just before an attribute is removed.voidpreAttributeAdded(AttributeEvent e)Called just before an attribute is added.voidpreAttributeChanged(AttributeEvent e)Called before a change of an attribute takes place.voidpreAttributeRemoved(AttributeEvent e)Called just before an attribute is removed.abstract voidsetGraphElement(GraphElement graphElement)Sets the graph component selectable by this edit component.voidtransactionFinished(TransactionEvent t, BackgroundTaskStatusProviderSupportingExternalCall status)Called if a transaction got finished.voidtransactionStarted(TransactionEvent t)Called if a transaction got started.Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, setDisplayable, setEnabled, setShowEmptyMethods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
postDirectedChanged, postEdgeAdded, postEdgeRemoved, postEdgeReversed, postGraphCleared, postInEdgeAdded, postInEdgeRemoved, postNodeAdded, postNodeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postSourceNodeChanged, postTargetNodeChanged, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preDirectedChanged, preEdgeAdded, preEdgeRemoved, preEdgeReversed, preGraphCleared, preInEdgeAdded, preInEdgeRemoved, preNodeAdded, preNodeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preSourceNodeChanged, preTargetNodeChanged, preUndirectedEdgeAdded, preUndirectedEdgeRemoved, setParameter, setValueMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
getComponent, setEditFieldValue, setValue
-
Method Details
-
setGraphElement
Sets the graph component selectable by this edit component. -
postAttributeAdded
Called after an attribute as been added.- Specified by:
postAttributeAddedin interfaceAttributeListener- Overrides:
postAttributeAddedin classValueEditComponentAdapter- Parameters:
e- the AttributeEvent detailing changes.
-
postAttributeChanged
Called after a change of an attribute took place.- Specified by:
postAttributeChangedin interfaceAttributeListener- Overrides:
postAttributeChangedin classAbstractValueEditComponent- Parameters:
e- the AttributeEvent detailing the changes.
-
postAttributeRemoved
Called just before an attribute is removed.- Specified by:
postAttributeRemovedin interfaceAttributeListener- Overrides:
postAttributeRemovedin classValueEditComponentAdapter- Parameters:
e- the AttributeEvent detailing the changes.
-
preAttributeAdded
Called just before an attribute is added.- Specified by:
preAttributeAddedin interfaceAttributeListener- Overrides:
preAttributeAddedin classValueEditComponentAdapter- Parameters:
e- the AttributeEvent detailing the changes.
-
preAttributeChanged
Called before a change of an attribute takes place.- Specified by:
preAttributeChangedin interfaceAttributeListener- Overrides:
preAttributeChangedin classAbstractValueEditComponent- Parameters:
e- the AttributeEvent detailing the changes.
-
preAttributeRemoved
Called just before an attribute is removed.- Specified by:
preAttributeRemovedin interfaceAttributeListener- Overrides:
preAttributeRemovedin classValueEditComponentAdapter- Parameters:
e- the AttributeEvent detailing the changes.
-
transactionFinished
public void transactionFinished(TransactionEvent t, BackgroundTaskStatusProviderSupportingExternalCall status)Called if a transaction got finished.- Specified by:
transactionFinishedin interfaceTransactionListener- Overrides:
transactionFinishedin classValueEditComponentAdapter- Parameters:
t- the transaction event.
-
transactionStarted
Called if a transaction got started.- Specified by:
transactionStartedin interfaceTransactionListener- Overrides:
transactionStartedin classValueEditComponentAdapter- Parameters:
t- the transaction event.
-