net.simplace.util.customize.FWCustomizableLayoutProvider
public abstract class FWCustomizableLayoutProvider {
// Public Constructors
public FWCustomizableLayoutProvider(Object aObjectFillingStructure);
// Protected Instance Variables
protected String iLocalePrefix;
protected Object iContentObject;
protected Map iUserListHasMap;
protected Map iSettingsMap;
protected Map iProblemReportMap;
protected Map iSystemMap;
protected Map iFunctionMap;
protected Map iMenuMap;
protected Map iToolMap;
protected Map iStateBarMap;
protected Map iFormMap;
protected Map iLayoutPropertiesMap;
protected Map iChartStyleMap;
protected boolean shouldAddKeyworkPanel;
protected boolean shouldAddSimComponentPanel;
protected boolean shouldAddAtlasPanel;
protected boolean shouldAddScenarioPanel;
protected Map iFeatureStyleMap;
protected Map iGridStyleMap;
// Public Instance Methods public void
initializeStructure(String aCurrentUserID);
public void reInitializeStructure();
public void reInitializeSystems();
public Map getUsersMap();
you can get a Map with userid,UserRightsObject with this method
returns Map
public
FWSystemModel getSystemModel(String aID);
you can get a Map with userid,AbstractFunctionality with this method
returns Map
public
FWSystemModel getOriginalSystemModel(String aID);
you can get a Map with userid,AbstractFunctionality with this method
returns Map
public Map getSystemModels();
you can get a Map of Systems
returns Map
public
FWSettingModel getSettingModel(String aUserGroupID);
you can get a Map with userid,AbstractFunctionality with this method
returns Map
public
FWProblemReportModel getProblemReportModel(String aUserGroupID);
you can get a Map with userid,AbstractFunctionality with this method
returns Map
public Map getDefaultSystemSettings();
you can get a Map with key,value with this method, containing the system settings
returns Map
public
FWFunctionalityModel getFunctionModel(String aSystemID, String
aFunctionID);
you can get a Map with userid,AbstractFunctionality with this method
returns Map
public Map getMenuMap();
you can get a Map with userid,FWMenuItem with this method
returns Map
public Map getToolMap();
you can get a Map with userid,FWDefaultToolbarButton with this method
returns Map
public Map getLayoutPropertiesMap();
you can get a Map with userid,String with this method
returns Map
public String getLocalePrefix();
public String getLayoutProperty(String aKey);
returns Layout property
public StyledLayerStyle
getGeoStyle(Object aObject, String aStyleKey, String
aSystemID, Map aInputParameterMap);
Determines a style (feature or grid) according to a given object.
Note:
It is possible to omit the object (null). In this case only static styles
are provided (
NO quantile feature styles or discrete/interpolative grid styles!!).
Then the method looks first for a feature style for the given key and only if this fails
it looks for a grid style.
- aObject object the style is determined for (can be {@code null}! see above)
- aStyleKey ID of the style
- aSystemID used to localize the layer descriptions
- aParameterMap only used for "replaceParamTokens(..)" in styles of type "configurable"
public Map getStateBarFunctions();
returns StateBar functions
public String getCurrentUserID();
returns current user ID
public
UserRightsObject getCurrentUserRightsObject();
returns current user rights object
public boolean isShouldAddKeyworkPanel();
returns the shouldAddKeyworkPanel
public void
setShouldAddKeyworkPanel(boolean aShouldAddKeyworkPanel);
- aShouldAddKeyworkPanel the shouldAddKeyworkPanel to set
public boolean isShouldAddSimComponentPanel();
returns the shouldAddSimComponentPanel
public void
setShouldAddSimComponentPanel(boolean
aShouldAddSimComponentPanel);
- aShouldAddSimComponentPanel the shouldAddSimComponentPanel to set
public boolean isShouldAddAtlasPanel();
returns the shouldAddAtlasPanel
public void
setShouldAddAtlasPanel(boolean aShouldAddAtlasPanel);
- aShouldAddAtlasPanel the shouldAddAtlasPanel to set
public boolean isShouldAddScenarioPanel();
returns the shouldAddScenarioPanel
public void
setShouldAddScenarioPanel(boolean aShouldAddScenarioPanel);
- aShouldAddScenarioPanel the shouldAddScenarioPanel to set
public boolean
isAccessable(String aID);
returns if it is accessable
public boolean
isSystemAccessable(String aSystemID);
returns true, if the system is accessible, otherwise returns false
public boolean isDeveloppmentMode();
returns if it is in development mode
public Element
getForm(String aFormID);
returns the form
public abstract Object
getChildObject(String aName);
returns the child object
// Protected Instance Methods protected abstract void initSystemMap();
protected abstract void initProblemReportMap();
protected abstract void initSettingsMap();
protected abstract void initToolMap();
protected abstract void initStateBarFunctions();
protected abstract void initFunctionMap();
protected abstract void initFormMap();
protected abstract void initChartStyleMap();
protected abstract void initMenuMap();
protected abstract void initLayoutPropertiesMap();
protected abstract void initUserMap();
}
Extended by: XMLLayoutProvider
Passed to: net.simplace.ui.FWLoginFrame(), net.simplace.ui.FWMainFrame()
Returned by: net.simplace.ui.FWMainFrame.getLayoutProvider()