public class SensitivityWizardHandler extends Object
| Constructor and Description |
|---|
SensitivityWizardHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTabs(FactorWizardUI factorWizardUI)
Rafraichit l'assistant de facteur pour modifier le nombre de valeurs
(onglet) d'un composant discret.
|
protected ContinuousPanel |
getContinuousPanel(Object value,
org.nuiton.topia.persistence.TopiaEntityContextable bean,
String property)
Retourne le componant permettant de mettre en facteur continue
une valeur.
|
protected JComponent |
getEditorWithValue(FactorWizardUI factorWizardUI,
Factor factor,
Domain domain,
Object value)
Renvoie un componsant gaphique initialisé avec la valeur
qui est enregistré dans le domain.
|
protected ContinuousPanel |
getNewContinuousComponent(FactorWizardUI factorWizardUI,
String factorPath)
Return new continuous component inited with value defined by factor path.
|
protected JComponent |
getNewDiscreteComponent(FactorWizardUI factorWizardUI)
Return new discrete component inited with value defined by factor path.
|
protected org.nuiton.topia.TopiaContext |
getTopiaContext(FactorWizardUI factorWizardUI)
Return opened topia context that need to be closed.
|
protected ContinuousPanel |
getTypeContinousComponent(FactorWizardUI factorWizardUI,
Class type,
Object value)
Get new special component for typed parameters.
|
protected JComponent |
getTypeDiscreteComponent(FactorWizardUI factorWizardUI,
Class type,
Object value)
Get new special component for typed parameters.
|
void |
initExistingFactor(FactorWizardUI factorWizardUI,
Factor factor)
Appelé suite a un double clic sur l'arbre des facteurs pour modifier un
facteur.
|
void |
initNewFactor(FactorWizardUI factorWizardUI,
org.nuiton.topia.persistence.TopiaEntityContextable bean,
String property)
Initialize un nouveau wizard avec lorsque l'utilisateur clic sur
un layer sont le sous composant accepte la mise en facteur.
|
void |
remove(FactorWizardUI factorWizardUI)
Remove current factor.
|
void |
save(FactorWizardUI factorWizardUI)
Save current factor.
|
protected void |
saveContinue(String name,
String comment,
String path,
ContinuousPanel panel,
SimulAction action,
boolean exist)
Save a continous factor.
|
protected void |
saveDiscret(String name,
String comment,
String path,
Component[] components,
SimulAction action,
boolean exist)
Save a discret factor.
|
protected org.nuiton.topia.TopiaContext getTopiaContext(FactorWizardUI factorWizardUI) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionpublic void initNewFactor(FactorWizardUI factorWizardUI, org.nuiton.topia.persistence.TopiaEntityContextable bean, String property)
factorWizardUI - factorWizardUIbean - bean in current uiproperty - bean property to editpublic void initExistingFactor(FactorWizardUI factorWizardUI, Factor factor)
factorWizardUI - view to initfactor - factor factor to editprotected JComponent getEditorWithValue(FactorWizardUI factorWizardUI, Factor factor, Domain domain, Object value)
factorWizardUI - context for context value (RegionStorage)value - type to get editorfactor - factor for path valuedomain - domain for domain typeprotected ContinuousPanel getContinuousPanel(Object value, org.nuiton.topia.persistence.TopiaEntityContextable bean, String property)
value - value (must be continuable)bean - bean (in case of equation)property - bean property (in case of equation)public void addTabs(FactorWizardUI factorWizardUI)
factorWizardUI - factorWizardUIprotected JComponent getNewDiscreteComponent(FactorWizardUI factorWizardUI)
factorWizardUI - factorWizardUIprotected ContinuousPanel getNewContinuousComponent(FactorWizardUI factorWizardUI, String factorPath)
factorWizardUI - (to use topia context)factorPath - factor pathprotected JComponent getTypeDiscreteComponent(FactorWizardUI factorWizardUI, Class type, Object value)
factorWizardUI - type - protected ContinuousPanel getTypeContinousComponent(FactorWizardUI factorWizardUI, Class type, Object value)
factorWizardUI - type - type to get componentpublic void save(FactorWizardUI factorWizardUI)
factorWizardUI - factorWizardUIprotected void saveContinue(String name, String comment, String path, ContinuousPanel panel, SimulAction action, boolean exist)
name - factor namecomment - commentpath - factor pathpanel - panelaction - actionexist - existprotected void saveDiscret(String name, String comment, String path, Component[] components, SimulAction action, boolean exist)
name - comment - path - components - action - exist - public void remove(FactorWizardUI factorWizardUI)
factorWizardUI - factorWizardUICopyright © 1999–2014 CodeLutin. All rights reserved.