Extension SDK 9.0.5

oracle.jdeveloper.cm.ds.db
Class DBObjectUpdateMessage

java.lang.Object
  extended byoracle.ide.addin.Message
      extended byoracle.ide.addin.UpdateMessage
          extended byoracle.jdeveloper.cm.ds.db.DBObjectUpdateMessage

public class DBObjectUpdateMessage
extends UpdateMessage

Subclass of UpdateMessage which has methods for firing DBObject specific messages.


Field Summary
 
Fields inherited from class oracle.ide.addin.UpdateMessage
ATTRIBUTE_CHANGED, CHILD_ADDED, CHILD_REMOVED, CHILD_RENAMED, OBJECT_CLOSED, OBJECT_CLOSING, OBJECT_OPENED, OBJECT_RELOADED, OBJECT_RENAMED, PROPERTY_SET, STRUCTURE_CHANGED
 
Fields inherited from class oracle.ide.addin.Message
add, COMMAND_ID_PROP, container, context, messageID, messageProperties, modify, origin, remove
 
Constructor Summary
DBObjectUpdateMessage(int messageID, java.lang.Object origin)
           
 
Method Summary
static void fireChildAdded(Subject subject, DBObject child)
           
static void fireChildAdded(Subject subject, DBObject child, java.lang.Object extraData)
           
static void fireChildRemoved(Subject subject, DBObject child)
           
static void fireChildrenAdded(Subject subject, java.util.Collection childElements)
          Identical to fireChildrenAdded(Subject,Collection,Object) with null for the extraData parameter.
static void fireChildrenAdded(Subject subject, java.util.Collection childElements, java.lang.Object extraData)
          This method sends an UpdateMessage whose ID is UpdateMessage.CHILD_ADDED to all Observers of the specified Subject.
static void fireChildrenRemoved(Subject subject, java.util.Collection childElements)
          This method sends an UpdateMessage whose ID is UpdateMessage.CHILD_REMOVED to all Observers of the specified Subject.
static void fireStructureChanged(Subject subject)
          This method sends an UpdateMessage whose ID is UpdateMessage.STRUCTURE_CHANGED to all Observers of the specified Subject.
static void fireStructureChanged(Subject subject, java.util.Collection modifyObjects)
          This method sends an UpdateMessage whose ID is UpdateMessage.STRUCTURE_CHANGED to all Observers of the specified Subject.
 
Methods inherited from class oracle.ide.addin.UpdateMessage
fireAttributeChanged, fireChildAdded, fireChildAdded, fireChildRemoved, fireChildRemoved, fireChildrenRemoved, fireObjectClosed, fireObjectOpened, fireObjectReloaded, firePropertiesChanged, fromNewOrigin, getContainer, getMessageMap, getPropertyMap, getUniqueMessageID, notifyObserversOnEventThread, setPropertyMap
 
Methods inherited from class oracle.ide.addin.Message
getAddObjects, getContext, getExtraData, getMessageID, getModifyObjects, getOrigin, getProperty, getRemoveObjects, setContext, setExtraData, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBObjectUpdateMessage

public DBObjectUpdateMessage(int messageID,
                             java.lang.Object origin)
Method Detail

fireChildAdded

public static void fireChildAdded(Subject subject,
                                  DBObject child,
                                  java.lang.Object extraData)

fireChildAdded

public static void fireChildAdded(Subject subject,
                                  DBObject child)

fireChildrenAdded

public static void fireChildrenAdded(Subject subject,
                                     java.util.Collection childElements,
                                     java.lang.Object extraData)
Description copied from class: UpdateMessage
This method sends an UpdateMessage whose ID is UpdateMessage.CHILD_ADDED to all Observers of the specified Subject. The specified Collection of Element instances is the content of the "add objects" of the message.


fireChildrenAdded

public static void fireChildrenAdded(Subject subject,
                                     java.util.Collection childElements)
Description copied from class: UpdateMessage
Identical to UpdateMessage.fireChildrenAdded(Subject,Collection,Object) with null for the extraData parameter.


fireChildRemoved

public static void fireChildRemoved(Subject subject,
                                    DBObject child)

fireChildrenRemoved

public static void fireChildrenRemoved(Subject subject,
                                       java.util.Collection childElements)
Description copied from class: UpdateMessage
This method sends an UpdateMessage whose ID is UpdateMessage.CHILD_REMOVED to all Observers of the specified Subject. The specified Collection of Element instances is the content of the "remove objects" of the message.


fireStructureChanged

public static void fireStructureChanged(Subject subject,
                                        java.util.Collection modifyObjects)
Description copied from class: UpdateMessage
This method sends an UpdateMessage whose ID is UpdateMessage.STRUCTURE_CHANGED to all Observers of the specified Subject. The specified Collection of Element instances is the content of the "modify objects" of the message.


fireStructureChanged

public static void fireStructureChanged(Subject subject)
Description copied from class: UpdateMessage
This method sends an UpdateMessage whose ID is UpdateMessage.STRUCTURE_CHANGED to all Observers of the specified Subject.


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.