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

E13403-08

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
protected static java.lang.String ENVIRONMENT_NAME
          Name by which the ReplaceMenuManager instance is bound to the JNDI environment.
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()
          Retrieves the context 'Replace With' menu.
static ReplaceMenuManager getInstance()
          Retrieves the ReplaceMenuManager instance which can be used by providers to install items into the available menus.
abstract  javax.swing.JMenu getMainReplaceMenu()
          Retrieves the main 'Replace With' menu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

ENVIRONMENT_NAME

protected static final java.lang.String ENVIRONMENT_NAME
Name by which the ReplaceMenuManager instance is bound to the JNDI environment.

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.

getMainReplaceMenu

public abstract javax.swing.JMenu getMainReplaceMenu()
Retrieves the main 'Replace With' menu. Providers should use this method to add items to, and remove items from, the main replace menu.

Returns:
the main 'Replace With' menu.

getContextReplaceMenu

public abstract javax.swing.JMenu getContextReplaceMenu()
Retrieves the context 'Replace With' menu. Providers should use this method to add items to, and remove items from, the context replace menu.

Returns:
the context 'Replace With' menu.

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

E13403-08

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