Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ideimpl.webupdate
Class WebUpdateAddin

java.lang.Object
  extended by oracle.ideimpl.webupdate.WebUpdateAddin
All Implemented Interfaces:
java.util.EventListener, Addin, IdeListener

public final class WebUpdateAddin
extends java.lang.Object
implements Addin, IdeListener

The WebUpdateAddin provides support for checking for IDE updates (patches and extensions) over the web. The bulk of the implementation is in the UpdateManager class. This addin registers a menu item and adds it to the help menu and initializes the UpdateManager.


Field Summary
static int CFU_ACTION_ID
          The id for the check for updates action.
 
Constructor Summary
WebUpdateAddin()
           
 
Method Summary
 void addinsLoaded(IdeEvent e)
          Called during the IDE startup sequence after all addins have finished loading.
static CheckForUpdatesPreferences getPreferences()
           
 void initialize()
          Invoked by the AddinManager after the instance of the Addin is instantiated.
 void mainWindowClosing(IdeEvent e)
          Called during the IDE shutdown sequence just before the main window is closed.
 void mainWindowOpened(IdeEvent e)
          Called during the IDE startup sequence after the main window has been shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFU_ACTION_ID

public static final int CFU_ACTION_ID
The id for the check for updates action.

Constructor Detail

WebUpdateAddin

public WebUpdateAddin()
Method Detail

initialize

public void initialize()
Description copied from interface: Addin
Invoked by the AddinManager after the instance of the Addin is instantiated. When invoked, The Addin should register and menu items, and actions required for use during this classes lifecycle. Addin authors should take care to ensure that any extraneous initialization is not preformed on this method, and any startup code that can be delayed until a later time is delayed, as the Addin's are synchronously initialized during the startup of the IDE, and each Addin has the potential to negatively impact the startup time of the product.

Specified by:
initialize in interface Addin
See Also:
AddinManager

addinsLoaded

public void addinsLoaded(IdeEvent e)
Description copied from interface: IdeListener
Called during the IDE startup sequence after all addins have finished loading.

Specified by:
addinsLoaded in interface IdeListener
Parameters:
e - the event

mainWindowOpened

public void mainWindowOpened(IdeEvent e)
Description copied from interface: IdeListener
Called during the IDE startup sequence after the main window has been shown.

Note: This event is not fired when the IDE is run in headless mode.

Specified by:
mainWindowOpened in interface IdeListener
Parameters:
e - the event

mainWindowClosing

public void mainWindowClosing(IdeEvent e)
Description copied from interface: IdeListener
Called during the IDE shutdown sequence just before the main window is closed.

Note: This event is not fired when the IDE is run in headless mode.

Specified by:
mainWindowClosing in interface IdeListener
Parameters:
e - the event

getPreferences

public static CheckForUpdatesPreferences getPreferences()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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