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

E17493-01

oracle.ide.replace
Class ReplaceMenuManager

java.lang.Object
  extended by oracle.ide.replace.ReplaceMenuManager

public abstract class ReplaceMenuManager
extends java.lang.Object

ReplaceMenuManager is the public interface onto the 'Replace With' menus present in the IDE. These menus allow users to replace the contents of Nodes with some other content, for example previous versions from a version control system.


Field Summary
static java.lang.String CONTEXT_MENU_ID
           
static java.lang.String EXTENSION_ID
           
static float SECTION_LOCAL_HISTORY
          Section identifier for local history related items.
static float SECTION_OTHER
          Section identifier for other items.
static float SECTION_VCS
          Section identifier for version control systems' items.
 
Constructor Summary
ReplaceMenuManager()
           
 
Method Summary
abstract  javax.swing.JMenu getContextReplaceMenu()
          Get Context Replace With Menu
static ReplaceMenuManager getInstance()
          Retrieves the ReplaceMenuManager instance which can be used by providers to install items into the available menus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_ID

public static final java.lang.String EXTENSION_ID
See Also:
Constant Field Values

SECTION_VCS

public static final float SECTION_VCS
Section identifier for version control systems' items.

See Also:
Constant Field Values

SECTION_LOCAL_HISTORY

public static final float SECTION_LOCAL_HISTORY
Section identifier for local history related items.

See Also:
Constant Field Values

SECTION_OTHER

public static final float SECTION_OTHER
Section identifier for other items.

See Also:
Constant Field Values

CONTEXT_MENU_ID

public static final java.lang.String CONTEXT_MENU_ID
See Also:
Constant Field Values
Constructor Detail

ReplaceMenuManager

public ReplaceMenuManager()
Method Detail

getInstance

public static ReplaceMenuManager getInstance()
Retrieves the ReplaceMenuManager instance which can be used by providers to install items into the available menus.

Returns:
the ReplaceMenuManager instance, or null if there is a problem obtaining the instance from the JNDI environment.

getContextReplaceMenu

public abstract javax.swing.JMenu getContextReplaceMenu()
Get Context Replace With Menu

Returns:

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.