|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.uzh.ifi.attempto.preditor.MenuCreator
ch.uzh.ifi.attempto.preditor.example.ExampleMenuCreator
public class ExampleMenuCreator
This class is an examplary implementation of a menu creator. See the source code.
| Constructor Summary | |
|---|---|
ExampleMenuCreator()
Creates a new menu creator instance. |
|
| Method Summary | |
|---|---|
void |
initMenuCreation()
This abstract method is called when the predictive editor is refreshed (before the first call of processCategory). |
void |
processCategory(Terminal category)
An implementation of this abstract method should process the category by calling addMenuItem
and/or addMenuEntry. |
| Methods inherited from class ch.uzh.ifi.attempto.preditor.MenuCreator |
|---|
addMenuEntry, addMenuItem, addReferenceEntries, addVariableEntries, getAccessibleTextElements, prepareMenuBlock, prepareMenuBlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExampleMenuCreator()
| Method Detail |
|---|
public void initMenuCreation()
MenuCreatorprocessCategory). This is a good place for calling prepareMenuBlock.
initMenuCreation in class MenuCreatorpublic void processCategory(Terminal category)
MenuCreatoraddMenuItem
and/or addMenuEntry.
processCategory in class MenuCreatorcategory - The category of the grammar to be processed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||