org.gvsig.editing.impl
Class DefaultEditingNotificationManager

java.lang.Object
  extended by org.gvsig.editing.impl.DefaultEditingNotificationManager
All Implemented Interfaces:
EditingNotificationManager, org.gvsig.tools.observer.Observable

public class DefaultEditingNotificationManager
extends java.lang.Object
implements EditingNotificationManager

Acts as a hub to centralize editing notification events in a single manager. All objects that modify a store notify this manager to reported the actions to the objects interested in knowing when start or end editing, regardless of where the editing work is done.


Nested Class Summary
 class DefaultEditingNotificationManager.DefaultEditingNotification
           
 
Constructor Summary
DefaultEditingNotificationManager()
           
 
Method Summary
 void addObserver(org.gvsig.tools.observer.Observer o)
           
 void deleteObserver(org.gvsig.tools.observer.Observer o)
           
 void deleteObservers()
           
 EditingNotification notifyObservers(EditingNotification notification)
           
 EditingNotification notifyObservers(java.lang.Object source, java.lang.String type, java.lang.Object document, org.gvsig.fmap.dal.DataStore store)
           
 EditingNotification notifyObservers(java.lang.Object source, java.lang.String type, java.lang.Object document, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.EditableFeatureType featureType)
           
 EditingNotification notifyObservers(java.lang.Object source, java.lang.String type, java.lang.Object document, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature)
           
 EditingNotification notifyObservers(java.lang.Object source, java.lang.String type, java.lang.Object document, org.gvsig.fmap.mapcontext.layers.FLayer layer)
           
 EditingNotification notifyObservers(java.lang.Object source, java.lang.String type, java.lang.Object document, org.gvsig.fmap.mapcontext.layers.FLayer layer, org.gvsig.fmap.dal.DataStore store)
           
 EditingNotification notifyObservers(java.lang.Object source, java.lang.String type, java.lang.Object document, org.gvsig.fmap.mapcontext.layers.FLayer layer, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature)
           
 EditingNotification notifyObservers(java.lang.Object source, java.lang.String type, java.lang.Object document, org.gvsig.fmap.mapcontext.layers.FLayer layer, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature, org.gvsig.fmap.dal.feature.EditableFeatureType featureType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEditingNotificationManager

public DefaultEditingNotificationManager()
Method Detail

addObserver

public void addObserver(org.gvsig.tools.observer.Observer o)
Specified by:
addObserver in interface org.gvsig.tools.observer.Observable

deleteObserver

public void deleteObserver(org.gvsig.tools.observer.Observer o)
Specified by:
deleteObserver in interface org.gvsig.tools.observer.Observable

deleteObservers

public void deleteObservers()
Specified by:
deleteObservers in interface org.gvsig.tools.observer.Observable

notifyObservers

public EditingNotification notifyObservers(EditingNotification notification)
Specified by:
notifyObservers in interface EditingNotificationManager

notifyObservers

public EditingNotification notifyObservers(java.lang.Object source,
                                           java.lang.String type,
                                           java.lang.Object document,
                                           org.gvsig.fmap.dal.DataStore store)
Specified by:
notifyObservers in interface EditingNotificationManager

notifyObservers

public EditingNotification notifyObservers(java.lang.Object source,
                                           java.lang.String type,
                                           java.lang.Object document,
                                           org.gvsig.fmap.dal.DataStore store,
                                           org.gvsig.fmap.dal.feature.EditableFeatureType featureType)
Specified by:
notifyObservers in interface EditingNotificationManager

notifyObservers

public EditingNotification notifyObservers(java.lang.Object source,
                                           java.lang.String type,
                                           java.lang.Object document,
                                           org.gvsig.fmap.dal.DataStore store,
                                           org.gvsig.fmap.dal.feature.Feature feature)
Specified by:
notifyObservers in interface EditingNotificationManager

notifyObservers

public EditingNotification notifyObservers(java.lang.Object source,
                                           java.lang.String type,
                                           java.lang.Object document,
                                           org.gvsig.fmap.mapcontext.layers.FLayer layer)
Specified by:
notifyObservers in interface EditingNotificationManager

notifyObservers

public EditingNotification notifyObservers(java.lang.Object source,
                                           java.lang.String type,
                                           java.lang.Object document,
                                           org.gvsig.fmap.mapcontext.layers.FLayer layer,
                                           org.gvsig.fmap.dal.DataStore store)
Specified by:
notifyObservers in interface EditingNotificationManager

notifyObservers

public EditingNotification notifyObservers(java.lang.Object source,
                                           java.lang.String type,
                                           java.lang.Object document,
                                           org.gvsig.fmap.mapcontext.layers.FLayer layer,
                                           org.gvsig.fmap.dal.DataStore store,
                                           org.gvsig.fmap.dal.feature.Feature feature)
Specified by:
notifyObservers in interface EditingNotificationManager

notifyObservers

public EditingNotification notifyObservers(java.lang.Object source,
                                           java.lang.String type,
                                           java.lang.Object document,
                                           org.gvsig.fmap.mapcontext.layers.FLayer layer,
                                           org.gvsig.fmap.dal.DataStore store,
                                           org.gvsig.fmap.dal.feature.Feature feature,
                                           org.gvsig.fmap.dal.feature.EditableFeatureType featureType)


Copyright © 2014 gvSIG Association. All Rights Reserved.