|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.editor.project.helper.CodeHelper
public abstract class CodeHelper
An abstract helper class to support definitions of code snippets
Copyright (c) Formaria Ltd., 2002-2003
$Revision: 1.4 $
License: see License.txt
| Constructor Summary | |
|---|---|
CodeHelper()
Construct a new helper |
|
| Method Summary | |
|---|---|
abstract void |
doInsert(javax.swing.JEditorPane pane,
javax.swing.text.Document d,
javax.swing.text.Caret c,
EditorProject currentProject,
PageResource pageRes)
Insert the new codes |
abstract java.lang.String |
getCaption()
Get the caption displayed on the popup menu |
abstract java.lang.Integer |
getMnemonic()
Get the mnemonic key for this item |
void |
register(java.util.HashMap<java.lang.String,CodeHelper> resources)
Register the helper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CodeHelper()
| Method Detail |
|---|
public void register(java.util.HashMap<java.lang.String,CodeHelper> resources)
public abstract void doInsert(javax.swing.JEditorPane pane,
javax.swing.text.Document d,
javax.swing.text.Caret c,
EditorProject currentProject,
PageResource pageRes)
throws javax.swing.text.BadLocationException
javax.swing.text.BadLocationExceptionpublic abstract java.lang.String getCaption()
public abstract java.lang.Integer getMnemonic()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||