|
|||||||||
| 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.SimpleMenuCreator
public class SimpleMenuCreator
This class is a minimal implementation of a menu creator. All categories are processed in the same way and are put into the same menu block.
| Constructor Summary | |
|---|---|
SimpleMenuCreator()
|
|
| 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 SimpleMenuCreator()
| 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 | ||||||||