## org.autoplot.jythonsupport.ui.EditorContextMenu

## EditorContextMenu( org.autoplot.jythonsupport.ui.EditorTextPane edit )

## addExampleAction

addExampleAction( javax.swing.Action a ) → void

adds an action to examples submenu.

### Parameters

a - an Action

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## addMenuItem

addMenuItem( javax.swing.JMenuItem menuitem ) → void

add the menu or menuitem to the menu. separators will be added.

### Parameters

menuitem - a JMenuItem

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## addSettingsMenuItem

addSettingsMenuItem( javax.swing.JMenuItem menuitem ) → void

add the menu or menuitem to the actions menu.

### Parameters

menuitem - a JMenuItem

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## doRebuildMenu

doRebuildMenu( ) → void

request that the menu be rebuilt.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## encodeFont

encodeFont( java.awt.Font f ) → String

encode font into string like "sans-12". This is a copy of Autoplot's DomUtil.encodeFont.

### Parameters

f - a Font

### Returns:

a String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setDataSetSelector

setDataSetSelector( org.autoplot.datasource.DataSetSelector sel ) → void

### Parameters

sel - a DataSetSelector

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]