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 Node
s with some other content, for example previous versions from a version control system.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ReplaceMenuManager() |
Modifier and Type | Method and Description |
---|---|
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. |
public static final java.lang.String EXTENSION_ID
public static final float SECTION_VCS
public static final float SECTION_LOCAL_HISTORY
public static final float SECTION_OTHER
public static final java.lang.String CONTEXT_MENU_ID
public static ReplaceMenuManager getInstance()
ReplaceMenuManager
instance which can be used by providers to install items into the available menus.ReplaceMenuManager
instance, or null
if there is a problem obtaining the instance from the JNDI environment.public abstract javax.swing.JMenu getContextReplaceMenu()