Class FWCustomizableLayoutProvider

java.lang.Object
net.simplace.core.customize.FWCustomizableLayoutProvider
Direct Known Subclasses:
XMLLayoutProvider

public abstract class FWCustomizableLayoutProvider extends Object
Author:
aenders you can get all customizing information for Layout of Project out of this provider
  • Field Details

    • iLocalePrefix

      protected String iLocalePrefix
    • iContentObject

      protected Object iContentObject
    • iUserListHasMap

      protected Map<String,UserRightsObject> iUserListHasMap
    • iSettingsMap

      protected Map<String,FWSettingModel> iSettingsMap
    • iProblemReportMap

      protected Map<String,FWProblemReportModel> iProblemReportMap
    • iSystemMap

      protected Map<String,FWSystemModel> iSystemMap
    • iFunctionMap

      protected Map<String,FWFunctionalityModel> iFunctionMap
    • iMenuMap

      protected Map<String,FWMenuItem> iMenuMap
    • iToolMap

      protected Map<String,FWToolbarButton> iToolMap
    • iStateBarMap

      protected Map<String,Object> iStateBarMap
    • iFormMap

      protected Map<String,org.jdom2.Element> iFormMap
    • iLayoutPropertiesMap

      protected Map<String,String> iLayoutPropertiesMap
    • iChartStyleMap

      protected Map<String,ChartStyle> iChartStyleMap
    • shouldAddKeyworkPanel

      protected boolean shouldAddKeyworkPanel
    • shouldAddSimComponentPanel

      protected boolean shouldAddSimComponentPanel
    • shouldAddAtlasPanel

      protected boolean shouldAddAtlasPanel
    • shouldAddScenarioPanel

      protected boolean shouldAddScenarioPanel
    • iFeatureStyleMap

      protected Map<String,org.jdom2.Element> iFeatureStyleMap
      Holds the predefined display Styles for org.geotools.feature.Feature and org.geotools.feature.FeatureCollection objects.
    • iGridStyleMap

      protected Map<String,org.jdom2.Element> iGridStyleMap
      Holds the predefined display Styles for org.geotools.coverage.grid.GridCoverage2D objects.
  • Constructor Details

    • FWCustomizableLayoutProvider

      public FWCustomizableLayoutProvider(Object aObjectFillingStructure)
      Parameters:
      aObjectFillingStructure -
  • Method Details

    • initializeStructure

      public void initializeStructure(String aCurrentUserID)
      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 the iFeatureStyleMap with the predefined display Styles for org.geotools.feature.Feature or org.geotools.feature.FeatureCollection objects.
    • initGridStyleMap

      protected abstract void initGridStyleMap()
      Fills the iGridStyleMap with the predefined display Styles for org.geotools.coverage.grid.GridCoverage2D objects.
    • initMenuMap

      protected abstract void initMenuMap()
    • initLayoutPropertiesMap

      protected abstract void initLayoutPropertiesMap()
    • initUserMap

      protected abstract void initUserMap()
    • getUsersMap

      public Map<String,UserRightsObject> getUsersMap()
      you can get a Map with userid,UserRightsObject with this method
      Returns:
      Map <String,UserRightsObject>
    • getSystemModel

      public FWSystemModel getSystemModel(String aID)
      you can get a Map with userid,AbstractFunctionality with this method
      Parameters:
      aID -
      Returns:
      Map <String,AbstractFunctionality>
    • getOriginalSystemModel

      public FWSystemModel getOriginalSystemModel(String aID)
      you can get a Map with userid,AbstractFunctionality with this method
      Parameters:
      aID -
      Returns:
      Map <String,AbstractFunctionality>
    • getSystemModels

      public Map<String,FWSystemModel> getSystemModels()
      you can get a Map of Systems
      Returns:
      Map <String,FWSystemModel>
    • getSettingModel

      public FWSettingModel getSettingModel(String aUserGroupID)
      you can get a Map with userid,AbstractFunctionality with this method
      Parameters:
      aUserGroupID -
      Returns:
      Map <String,AbstractFunctionality>
    • getProblemReportModel

      public FWProblemReportModel getProblemReportModel(String aUserGroupID)
      you can get a Map with userid,AbstractFunctionality with this method
      Parameters:
      aUserGroupID -
      Returns:
      Map <String,AbstractFunctionality>
    • getDefaultSystemSettings

      public Map<String,Object> getDefaultSystemSettings()
      you can get a Map with key,value with this method, containing the system settings
      Returns:
      Map <String,AbstractFunctionality>
    • getFunctionModel

      public FWFunctionalityModel getFunctionModel(String aSystemID, String aFunctionID)
      you can get a Map with userid,AbstractFunctionality with this method
      Parameters:
      aSystemID -
      aFunctionID -
      Returns:
      Map <String,AbstractFunctionality>
    • getMenuMap

      public Map<String,FWMenuItem> getMenuMap()
      you can get a Map with userid,FWMenuItem with this method
      Returns:
      Map <String,FWMenuItem>
    • getToolMap

      public Map<String,FWToolbarButton> getToolMap()
      you can get a Map with userid,FWDefaultToolbarButton with this method
      Returns:
      Map <String,FWDefaultToolbarButton>
    • getLayoutPropertiesMap

      public Map<String,String> getLayoutPropertiesMap()
      you can get a Map with userid,String with this method
      Returns:
      Map <String,String>
    • getLocalePrefix

      public String getLocalePrefix()
    • getLayoutProperty

      public String getLayoutProperty(String aKey)
      Parameters:
      aKey -
      Returns:
      Layout property
    • getChartStyle

      public ChartStyle getChartStyle(String aKey, FWObservable aObservable)
      Parameters:
      aKey -
      aObservable -
      Returns:
      Chart style
    • getStateBarFunctions

      public Map<String,Object> getStateBarFunctions()
      Returns:
      StateBar functions
    • getCurrentUserID

      public String getCurrentUserID()
      Returns:
      current user ID
    • getCurrentUserRightsObject

      public UserRightsObject 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

      public boolean isAccessable(String aID)
      Parameters:
      aID -
      Returns:
      if it is accessable
    • isSystemAccessable

      public boolean isSystemAccessable(String aSystemID)
      Parameters:
      aSystemID -
      Returns:
      true, if the system is accessible, otherwise returns false
    • isDeveloppmentMode

      public boolean isDeveloppmentMode()
      Returns:
      if it is in development mode
    • getForm

      public org.jdom2.Element getForm(String aFormID)
      Parameters:
      aFormID -
      Returns:
      the form
    • getChildObject

      public abstract Object getChildObject(String aName)
      Parameters:
      aName -
      Returns:
      the child object