Package net.simplace.core.customize
Class FWCustomizableLayoutProvider
java.lang.Object
net.simplace.core.customize.FWCustomizableLayoutProvider
- Direct Known Subclasses:
XMLLayoutProvider
- Author:
- aenders you can get all customizing information for Layout of Project out of this provider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,ChartStyle> protected ObjectHolds the predefined displayStylesfororg.geotools.feature.Featureandorg.geotools.feature.FeatureCollectionobjects.protected Map<String,FWFunctionalityModel> Holds the predefined displayStylesfororg.geotools.coverage.grid.GridCoverage2Dobjects.protected Stringprotected Map<String,FWMenuItem> protected Map<String,FWProblemReportModel> protected Map<String,FWSettingModel> protected Map<String,FWSystemModel> protected Map<String,FWToolbarButton> protected Map<String,UserRightsObject> protected booleanprotected booleanprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChartStyle(String aKey, FWObservable aObservable) abstract ObjectgetChildObject(String aName) you can get a Map with key,value with this method, containing the system settingsorg.jdom2.ElementgetFunctionModel(String aSystemID, String aFunctionID) you can get a Map with userid,AbstractFunctionality with this methodyou can get a Map with userid,String with this methodgetLayoutProperty(String aKey) you can get a Map with userid,FWMenuItem with this methodyou can get a Map with userid,AbstractFunctionality with this methodgetProblemReportModel(String aUserGroupID) you can get a Map with userid,AbstractFunctionality with this methodgetSettingModel(String aUserGroupID) you can get a Map with userid,AbstractFunctionality with this methodgetSystemModel(String aID) you can get a Map with userid,AbstractFunctionality with this methodyou can get a Map of Systemsyou can get a Map with userid,FWDefaultToolbarButton with this methodyou can get a Map with userid,UserRightsObject with this methodprotected abstract voidprotected abstract voidFills theiFeatureStyleMapwith the predefined displayStylesfororg.geotools.feature.Featureororg.geotools.feature.FeatureCollectionobjects.protected abstract voidprotected abstract voidprotected abstract voidFills theiGridStyleMapwith the predefined displayStylesfororg.geotools.coverage.grid.GridCoverage2Dobjects.voidinitializeStructure(String aCurrentUserID) protected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidbooleanisAccessable(String aID) booleanbooleanbooleanbooleanbooleanbooleanisSystemAccessable(String aSystemID) voidvoidvoidsetShouldAddAtlasPanel(boolean aShouldAddAtlasPanel) voidsetShouldAddKeyworkPanel(boolean aShouldAddKeyworkPanel) voidsetShouldAddScenarioPanel(boolean aShouldAddScenarioPanel) voidsetShouldAddSimComponentPanel(boolean aShouldAddSimComponentPanel)
-
Field Details
-
iLocalePrefix
-
iContentObject
-
iUserListHasMap
-
iSettingsMap
-
iProblemReportMap
-
iSystemMap
-
iFunctionMap
-
iMenuMap
-
iToolMap
-
iStateBarMap
-
iFormMap
-
iLayoutPropertiesMap
-
iChartStyleMap
-
shouldAddKeyworkPanel
protected boolean shouldAddKeyworkPanel -
shouldAddSimComponentPanel
protected boolean shouldAddSimComponentPanel -
shouldAddAtlasPanel
protected boolean shouldAddAtlasPanel -
shouldAddScenarioPanel
protected boolean shouldAddScenarioPanel -
iFeatureStyleMap
Holds the predefined displayStylesfororg.geotools.feature.Featureandorg.geotools.feature.FeatureCollectionobjects. -
iGridStyleMap
Holds the predefined displayStylesfororg.geotools.coverage.grid.GridCoverage2Dobjects.
-
-
Constructor Details
-
FWCustomizableLayoutProvider
- Parameters:
aObjectFillingStructure-
-
-
Method Details
-
initializeStructure
- Parameters:
aCurrentUserID-
-
reInitializeStructure
public void reInitializeStructure() -
reInitializeSystems
public void reInitializeSystems() -
initSystemMap
protected abstract void initSystemMap() -
initProblemReportMap
protected abstract void initProblemReportMap() -
initSettingsMap
protected abstract void initSettingsMap() -
initToolMap
protected abstract void initToolMap() -
initStateBarFunctions
protected abstract void initStateBarFunctions() -
initFunctionMap
protected abstract void initFunctionMap() -
initFormMap
protected abstract void initFormMap() -
initChartStyleMap
protected abstract void initChartStyleMap() -
initFeatureStyleMap
protected abstract void initFeatureStyleMap()Fills theiFeatureStyleMapwith the predefined displayStylesfororg.geotools.feature.Featureororg.geotools.feature.FeatureCollectionobjects. -
initGridStyleMap
protected abstract void initGridStyleMap()Fills theiGridStyleMapwith the predefined displayStylesfororg.geotools.coverage.grid.GridCoverage2Dobjects. -
initMenuMap
protected abstract void initMenuMap() -
initLayoutPropertiesMap
protected abstract void initLayoutPropertiesMap() -
initUserMap
protected abstract void initUserMap() -
getUsersMap
you can get a Map with userid,UserRightsObject with this method- Returns:
- Map <String,UserRightsObject>
-
getSystemModel
you can get a Map with userid,AbstractFunctionality with this method- Parameters:
aID-- Returns:
- Map <String,AbstractFunctionality>
-
getOriginalSystemModel
you can get a Map with userid,AbstractFunctionality with this method- Parameters:
aID-- Returns:
- Map <String,AbstractFunctionality>
-
getSystemModels
you can get a Map of Systems- Returns:
- Map <String,FWSystemModel>
-
getSettingModel
you can get a Map with userid,AbstractFunctionality with this method- Parameters:
aUserGroupID-- Returns:
- Map <String,AbstractFunctionality>
-
getProblemReportModel
you can get a Map with userid,AbstractFunctionality with this method- Parameters:
aUserGroupID-- Returns:
- Map <String,AbstractFunctionality>
-
getDefaultSystemSettings
you can get a Map with key,value with this method, containing the system settings- Returns:
- Map <String,AbstractFunctionality>
-
getFunctionModel
you can get a Map with userid,AbstractFunctionality with this method- Parameters:
aSystemID-aFunctionID-- Returns:
- Map <String,AbstractFunctionality>
-
getMenuMap
you can get a Map with userid,FWMenuItem with this method- Returns:
- Map <String,FWMenuItem>
-
getToolMap
you can get a Map with userid,FWDefaultToolbarButton with this method- Returns:
- Map <String,FWDefaultToolbarButton>
-
getLayoutPropertiesMap
you can get a Map with userid,String with this method- Returns:
- Map <String,String>
-
getLocalePrefix
-
getLayoutProperty
- Parameters:
aKey-- Returns:
- Layout property
-
getChartStyle
- Parameters:
aKey-aObservable-- Returns:
- Chart style
-
getStateBarFunctions
- Returns:
- StateBar functions
-
getCurrentUserID
- Returns:
- current user ID
-
getCurrentUserRightsObject
- Returns:
- current user rights object
-
isShouldAddKeyworkPanel
public boolean isShouldAddKeyworkPanel()- Returns:
- the shouldAddKeyworkPanel
-
setShouldAddKeyworkPanel
public void setShouldAddKeyworkPanel(boolean aShouldAddKeyworkPanel) - Parameters:
aShouldAddKeyworkPanel- the shouldAddKeyworkPanel to set
-
isShouldAddSimComponentPanel
public boolean isShouldAddSimComponentPanel()- Returns:
- the shouldAddSimComponentPanel
-
setShouldAddSimComponentPanel
public void setShouldAddSimComponentPanel(boolean aShouldAddSimComponentPanel) - Parameters:
aShouldAddSimComponentPanel- the shouldAddSimComponentPanel to set
-
isShouldAddAtlasPanel
public boolean isShouldAddAtlasPanel()- Returns:
- the shouldAddAtlasPanel
-
setShouldAddAtlasPanel
public void setShouldAddAtlasPanel(boolean aShouldAddAtlasPanel) - Parameters:
aShouldAddAtlasPanel- the shouldAddAtlasPanel to set
-
isShouldAddScenarioPanel
public boolean isShouldAddScenarioPanel()- Returns:
- the shouldAddScenarioPanel
-
setShouldAddScenarioPanel
public void setShouldAddScenarioPanel(boolean aShouldAddScenarioPanel) - Parameters:
aShouldAddScenarioPanel- the shouldAddScenarioPanel to set
-
isAccessable
- Parameters:
aID-- Returns:
- if it is accessable
-
isSystemAccessable
- Parameters:
aSystemID-- Returns:
- true, if the system is accessible, otherwise returns false
-
isDeveloppmentMode
public boolean isDeveloppmentMode()- Returns:
- if it is in development mode
-
getForm
- Parameters:
aFormID-- Returns:
- the form
-
getChildObject
- Parameters:
aName-- Returns:
- the child object
-