HEADER

biouml.editor
Class DiagramListener


public class DiagramListener
implements DataCollectionListener, PropertyChangeListener

These class listen all diagram changes event and convert them to UndoableEdit. Then it propagates this undoableEdit to transaction listeners.


Constructor Summary
DiagramListener(ViewEditorPane viewEditor)
           

Method Summary
 voidelementAdded(DataCollectionEvent e)
           
 voidelementChanged(DataCollectionEvent e)
           
 voidelementRemoved(DataCollectionEvent e)
           
 voidelementWillAdd(DataCollectionEvent e)
           
 voidelementWillChange(DataCollectionEvent e)
           
 voidelementWillRemove(DataCollectionEvent e)
           
 voidpropertyChange(PropertyChangeEvent pce)
           

Constructor Detail

DiagramListener

public DiagramListener(ViewEditorPane viewEditor)
Method Detail

elementAdded

public void elementAdded(DataCollectionEvent e)
throws java.lang.Exception

elementChanged

public void elementChanged(DataCollectionEvent e)
throws java.lang.Exception

elementRemoved

public void elementRemoved(DataCollectionEvent e)
throws java.lang.Exception

elementWillAdd

public void elementWillAdd(DataCollectionEvent e)
throws ru.biosoft.access.DataCollectionVetoException,
java.lang.Exception

elementWillChange

public void elementWillChange(DataCollectionEvent e)
throws ru.biosoft.access.DataCollectionVetoException,
java.lang.Exception

elementWillRemove

public void elementWillRemove(DataCollectionEvent e)
throws ru.biosoft.access.DataCollectionVetoException,
java.lang.Exception

propertyChange

public void propertyChange(PropertyChangeEvent pce)

Association Links

to Class ru.biosoft.graphics.editor.ViewEditorPane

to Class ru.biosoft.access.DataElement

to Class ru.biosoft.access.DataCollection


FOOTER

BOTTOM