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 ChartStyle getChartStyle(String aKey, FWObservable aObservable);


returns Chart style
public StyledLayerStyle getFeatureStyle(Object aFeatureObject, String aKey,
String aSystemID, Map aParameterMap, String aLocaleBundle);

Returns a style from the net.simplace.util.customize.FWCustomizableLayoutProvider.iFeatureStyleMap.
public StyledLayerStyle getGridStyle(Object aGridObject, String aKey, String
aSystemID);

Returns a style from the net.simplace.util.customize.FWCustomizableLayoutProvider.iGridStyleMap.
public StyledLayerStyle getGridStyle(Object aGridObject, String aKey, String
aSystemID, String aLocaleBundle);

Returns a style from the net.simplace.util.customize.FWCustomizableLayoutProvider.iGridStyleMap.
public StyledLayerStyle getGridStyle(Object aGridObject, String aKey, String
aSystemID, Map aParameterMap);

Returns a style from the net.simplace.util.customize.FWCustomizableLayoutProvider.iGridStyleMap.
public StyledLayerStyle getGridStyle(Object aGridObject, String aKey, String
aSystemID, Map aParameterMap, String aLocaleBundle);

Returns a style from the net.simplace.util.customize.FWCustomizableLayoutProvider.iGridStyleMap. TO BE IMPLEMENTED LIKE FEATURE
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.
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);

public boolean isShouldAddSimComponentPanel();


returns the shouldAddSimComponentPanel
public void setShouldAddSimComponentPanel(boolean
aShouldAddSimComponentPanel);

public boolean isShouldAddAtlasPanel();


returns the shouldAddAtlasPanel
public void setShouldAddAtlasPanel(boolean aShouldAddAtlasPanel);

public boolean isShouldAddScenarioPanel();


returns the shouldAddScenarioPanel
public void setShouldAddScenarioPanel(boolean aShouldAddScenarioPanel);

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 initFeatureStyleMap();

Fills the net.simplace.util.customize.FWCustomizableLayoutProvider.iFeatureStyleMap with the predefined display org.geotools.styling.StyleStyles for org.geotools.feature.Feature or org.geotools.feature.FeatureCollection objects.
protected abstract void initGridStyleMap();

Fills the net.simplace.util.customize.FWCustomizableLayoutProvider.iGridStyleMap with the predefined display org.geotools.styling.StyleStyles for org.geotools.coverage.grid.GridCoverage2D objects.
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()