# com.bea.ide.jspdesigner
PaletteActionSvc.I Interface

public static interface PaletteActionSvc.I

Interface to the JSP Designer Palette Action service.

Enclosing class
  `PaletteActionSvc`

## Method Summary

`public `DefaultPaletteAction`` | `getInsertAction`(`PaletteItem` item) Creates a palette action wrapper from a palette item object that is suitable for placement on the Insert menu.
`public `IDOMNode`` | `getTargetTag`() Returns the DOM node selected by the cursor whether in design or source view.

## Method Detail

### getInsertAction(PaletteItem) Method

    public DefaultPaletteAction getInsertAction(PaletteItem item)

Creates a palette action wrapper from a palette item object that is suitable for placement on the Insert menu. When invoked the wrapper will handle inserting the palette item's insert document at the current cursor location in the file.

#### Parameters

item
  The PaletteItem to wrap.

#### Returns

Insert action wrapper around `item`.

### getTargetTag() Method

    public IDOMNode getTargetTag()

Returns the DOM node selected by the cursor whether in design or source view.

#### Returns

The DOM node underneath the cursor, null if none.