org.merlotxml.merlot
Class TextInputEditor
java.lang.Object
|
+--org.merlotxml.merlot.ChildTableEditor
|
+--org.merlotxml.merlot.TextInputEditor
- public class TextInputEditor
- extends ChildTableEditor
Sample plugin that does something besides the generic editor.
this is mainly stuff for a demo version. nothing spectacular here.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TextInputEditor
public TextInputEditor()
init
protected void init()
getMenuItems
public javax.swing.JMenuItem[] getMenuItems(MerlotDOMNode nd)
- Returns a set of menu items for any special actions for
this particular editor
that it wants in the popup menu. Standard stuff like cut, copy, paste
is taken care of by other objects. If nothing needs added
- Tags copied from interface: MerlotDOMEditor
- Parameters:
node
- the node for which to get the menu items
getEditableTypes
public java.lang.String[] getEditableTypes()
editsChildren
public boolean editsChildren()
- returns true if this editor also edits it's children.
suppressNode
public boolean suppressNode(MerlotDOMNode node)
- suppress display of textbox nodes
suppressAddType
public boolean suppressAddType(DTDElement el)
- Suppress ability to add textbox nodes