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.
  • Constructor Details

    • DefaultEditingNotificationManager

      public DefaultEditingNotificationManager()
  • Method Details

    • 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 org.gvsig.fmap.dal.EditingNotification notifyObservers(org.gvsig.fmap.dal.EditingNotification notification)
      Specified by:
      notifyObservers in interface org.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, org.gvsig.fmap.dal.feature.EditableFeatureType featureType)
    • notifyObservers

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

      public org.gvsig.fmap.dal.EditingNotification notifyObservers(Object source, String type, Object document, Object auxdata)
      Specified by:
      notifyObservers in interface org.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:
      notifyObservers in interface org.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:
      notifyObservers in interface org.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:
      notifyObservers in interface org.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:
      notifyObservers in interface org.gvsig.fmap.dal.EditingNotificationManager
    • validateFeature

      public boolean validateFeature(org.gvsig.fmap.dal.feature.Feature feature)
      Specified by:
      validateFeature in interface org.gvsig.fmap.dal.EditingNotificationManager
    • canWriteFeature

      public boolean canWriteFeature(org.gvsig.fmap.dal.feature.Feature feature)
      Specified by:
      canWriteFeature in interface org.gvsig.fmap.dal.EditingNotificationManager
    • selfRegister

      public static final void selfRegister()