|
||||||||||
| 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). This presenter is
mostly responsible for notifying INameMapListeners about changes in
name mapping.
Note about widget modification: Adding 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,
cz.cuni.amis.pogamut.sposh.elements.PoshPlan lapTree)
|
|
| Method Summary | |
|---|---|
Set<String> |
getAllNameMappingKeys()
Get all keys for which there is a name mapping. |
String |
getNameMapping(String primitiveName)
Get human readble name for the @key. |
cz.cuni.amis.pogamut.sposh.executor.ParamInfo[] |
getPrimitiveParameters(String key)
Get sorted parameters for primitve of key |
void |
setNameMapping(String key,
cz.cuni.amis.pogamut.sposh.executor.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,
cz.cuni.amis.pogamut.sposh.elements.PoshPlan lapTree)
| Method Detail |
|---|
public Set<String> getAllNameMappingKeys()
public String getNameMapping(String primitiveName)
primitiveName - FQN for which we want the human readable name.
public cz.cuni.amis.pogamut.sposh.executor.ParamInfo[] getPrimitiveParameters(String key)
key - FQN name of primitive
public void setNameMapping(String key,
cz.cuni.amis.pogamut.sposh.executor.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 | |||||||||