|
|||||||||
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 |
addMenuItems(Restriction restriction)
An implementation of this abstract method should add menu items that comply with the given restriction. |
void |
initMenuCreation()
This abstract method is called when the predictive editor is refreshed (before the first call of addMenuItems ). |
Methods inherited from class ch.uzh.ifi.attempto.preditor.MenuCreator |
---|
addMenuEntry, addMenuItem, addVariableEntries, 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()
MenuCreator
addMenuItems
). This is a good place for calling prepareMenuBlock
.
initMenuCreation
in class MenuCreator
public void addMenuItems(Restriction restriction)
MenuCreator
addMenuItem
and/or addMenuEntry
.
addMenuItems
in class MenuCreator
restriction
- The restriction for the menu items.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |