|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.pogamut.shed.presenter.ShedPresenter
public class ShedPresenter
Presenter class from MVP design pattern (in MVC, controller gets input directly, in MVP presenter gets input from the view).
Note about widget modification: Added new widget has marked parts of the scene for revalidation, but the scene itself hasn't been revalidated. You must validate changed scene to relayer everything!!
| Constructor Summary | |
|---|---|
ShedPresenter(ShedScene scene,
PoshPlan lapTree)
|
|
| Method Summary | |
|---|---|
Set<String> |
getAllNameMappingKeys()
Get all keys for which there is a name mapping. |
String |
getNameMapping(String key)
Get human readble name for the @key. |
String[] |
getPrimitiveParameters(String key)
Get sorted parameters for primitve of key |
void |
setNameMapping(String key,
PrimitiveData record)
Set human readable name for the @key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShedPresenter(ShedScene scene,
PoshPlan lapTree)
| Method Detail |
|---|
public Set<String> getAllNameMappingKeys()
public String getNameMapping(String key)
key - FQN for which we want the human readable name.
public String[] getPrimitiveParameters(String key)
key -
public void setNameMapping(String key,
PrimitiveData record)
key - FQN for which we set the human readable namevalue - Human readable name or null if mapping cancelled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||