public class ShowInDesignerSupport
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ShowInDesignerSupport.DynamicMenuItemsProvider  | 
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.Float | 
LAYER_ENABLING_SECTION
Section of the Show menu that contains controls of desinger layers visibibility. 
 | 
static java.lang.String | 
SHOW_HIDE_COMMAND_ENABLED
Property that marks IdeAction registered with ShowInDesignerSupport visible
 in the given context. 
 | 
static java.lang.String | 
SUBMENU  | 
static java.lang.String | 
SUBMENU_NAME  | 
static java.lang.String | 
SUBMENU_WEIGHT  | 
static java.lang.String | 
TOOLBAR_ENABLED
Property that marks IdeAction registered with ShowInDesignerSupport visible
 in the Designer's toolbar "Show" menu. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAction(IdeAction showAction)  | 
void | 
addPreferenceSource(ChangeEventSource preferenceSource)
Adds source of change events which should cause registered show actions
 to update. 
 | 
java.lang.Iterable<IdeAction> | 
getAvailableShowActions(Context context,
                       boolean forToolbar)  | 
static ShowInDesignerSupport | 
getInstance()  | 
static void | 
populateMenu(javax.swing.JMenu menu,
            java.lang.Iterable<IdeAction> actions)  | 
public static final java.lang.String SHOW_HIDE_COMMAND_ENABLED
public static final java.lang.String TOOLBAR_ENABLED
public static final java.lang.String SUBMENU
public static final java.lang.String SUBMENU_NAME
public static final java.lang.String SUBMENU_WEIGHT
public static final java.lang.Float LAYER_ENABLING_SECTION
public static ShowInDesignerSupport getInstance()
public void addAction(IdeAction showAction)
showAction - public void addPreferenceSource(ChangeEventSource preferenceSource) throws java.lang.ClassCastException
preferenceSource - java.lang.ClassCastException - if preferenceSource does not implement Copyable interfacepublic java.lang.Iterable<IdeAction> getAvailableShowActions(Context context, boolean forToolbar)
public static void populateMenu(javax.swing.JMenu menu,
                                java.lang.Iterable<IdeAction> actions)