Package org.gvsig.fmap.dal.impl
Class DefaultEditingNotificationManager
java.lang.Object
org.gvsig.fmap.dal.impl.DefaultEditingNotificationManager
- All Implemented Interfaces:
org.gvsig.fmap.dal.EditingNotificationManager,org.gvsig.tools.observer.Observable
public class DefaultEditingNotificationManager
extends Object
implements org.gvsig.fmap.dal.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
Nested ClassesModifier and TypeClassDescriptionclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObserver(org.gvsig.tools.observer.Observer o) booleancanWriteFeature(org.gvsig.fmap.dal.feature.Feature feature) voiddeleteObserver(org.gvsig.tools.observer.Observer o) voidorg.gvsig.fmap.dal.EditingNotificationnotifyObservers(Object source, String type, Object document, Object auxdata) org.gvsig.fmap.dal.EditingNotificationnotifyObservers(Object source, String type, Object document, Object auxdata, org.gvsig.fmap.dal.DataStore store) org.gvsig.fmap.dal.EditingNotificationnotifyObservers(Object source, String type, Object document, Object auxdata, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature) org.gvsig.fmap.dal.EditingNotificationnotifyObservers(Object source, String type, Object document, Object auxdata, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature, org.gvsig.fmap.dal.feature.EditableFeatureType featureType) org.gvsig.fmap.dal.EditingNotificationnotifyObservers(Object source, String type, Object document, org.gvsig.fmap.dal.DataStore store) org.gvsig.fmap.dal.EditingNotificationnotifyObservers(Object source, String type, Object document, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.EditableFeatureType featureType) org.gvsig.fmap.dal.EditingNotificationnotifyObservers(Object source, String type, Object document, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature) org.gvsig.fmap.dal.EditingNotificationnotifyObservers(org.gvsig.fmap.dal.EditingNotification notification) static final voidbooleanvalidateFeature(org.gvsig.fmap.dal.feature.Feature feature)
-
Constructor Details
-
DefaultEditingNotificationManager
public DefaultEditingNotificationManager()
-
-
Method Details
-
addObserver
public void addObserver(org.gvsig.tools.observer.Observer o) - Specified by:
addObserverin interfaceorg.gvsig.tools.observer.Observable
-
deleteObserver
public void deleteObserver(org.gvsig.tools.observer.Observer o) - Specified by:
deleteObserverin interfaceorg.gvsig.tools.observer.Observable
-
deleteObservers
public void deleteObservers()- Specified by:
deleteObserversin interfaceorg.gvsig.tools.observer.Observable
-
notifyObservers
public org.gvsig.fmap.dal.EditingNotification notifyObservers(org.gvsig.fmap.dal.EditingNotification notification) - Specified by:
notifyObserversin interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
notifyObservers
-
notifyObservers
public org.gvsig.fmap.dal.EditingNotification notifyObservers(Object source, String type, Object document, Object auxdata, org.gvsig.fmap.dal.DataStore store) - Specified by:
notifyObserversin interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
notifyObservers
public org.gvsig.fmap.dal.EditingNotification notifyObservers(Object source, String type, Object document, Object auxdata) - Specified by:
notifyObserversin interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
notifyObservers
public org.gvsig.fmap.dal.EditingNotification notifyObservers(Object source, String type, Object document, org.gvsig.fmap.dal.DataStore store) - Specified by:
notifyObserversin interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
notifyObservers
public org.gvsig.fmap.dal.EditingNotification notifyObservers(Object source, String type, Object document, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature) - Specified by:
notifyObserversin interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
notifyObservers
public org.gvsig.fmap.dal.EditingNotification notifyObservers(Object source, String type, Object document, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.EditableFeatureType featureType) - Specified by:
notifyObserversin interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
notifyObservers
public org.gvsig.fmap.dal.EditingNotification notifyObservers(Object source, String type, Object document, Object auxdata, org.gvsig.fmap.dal.DataStore store, org.gvsig.fmap.dal.feature.Feature feature) - Specified by:
notifyObserversin interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
validateFeature
public boolean validateFeature(org.gvsig.fmap.dal.feature.Feature feature) - Specified by:
validateFeaturein interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
canWriteFeature
public boolean canWriteFeature(org.gvsig.fmap.dal.feature.Feature feature) - Specified by:
canWriteFeaturein interfaceorg.gvsig.fmap.dal.EditingNotificationManager
-
selfRegister
public static final void selfRegister()
-