Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.ide.navigator
Class ApplicationChangeEvent

java.lang.Object
  extended by oracle.ide.navigator.ApplicationChangeEvent

public final class ApplicationChangeEvent
extends java.lang.Object

Event object representing a change in the selected application in an application navigator. In general, these events arrive in pairs, since a change in the selected application involves deselecting the old application followed by selecting the new application. Thus, there are two events arriving in the following sequence:

  1. ApplicationChangeEvent with DESELECTED state and getApplication() returns the old application.
  2. ApplicationChangeEvent with SELECTED state and getApplication() returns the new application.


Field Summary
static int DESELECTED
          State change value returned from getStateChange() when the ApplicationChangeEvent was triggered by deselecting an application.
static int SELECTED
          State change value returned from getStateChange() when the ApplicationChangeEvent was triggered by selecting an application.
 
Method Summary
 Workspace getApplication()
          Returns the application for which this event applies.
 int getStateChange()
          Returns an integer specifying what kind of change event occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESELECTED

public static final int DESELECTED
State change value returned from getStateChange() when the ApplicationChangeEvent was triggered by deselecting an application.

See Also:
Constant Field Values

SELECTED

public static final int SELECTED
State change value returned from getStateChange() when the ApplicationChangeEvent was triggered by selecting an application.

See Also:
Constant Field Values
Method Detail

getStateChange

public int getStateChange()
Returns an integer specifying what kind of change event occurred. Possible values are DESELECTED and SELECTED.


getApplication

public Workspace getApplication()
Returns the application for which this event applies. The returned application may be null, if there was no previously selected or newly selected application.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

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