Class WorkspaceSettings
- java.lang.Object
-
- org.pentaho.reporting.designer.core.settings.WorkspaceSettings
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
public class WorkspaceSettings extends Object implements org.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
User: Martin Date: 07.02.2006 Time: 14:14:08
-
-
Field Summary
Fields Modifier and Type Field Description static String
DATE_FORMAT_DEFAULT
static String
DATETIME_FORMAT_DEFAULT
static String
TIME_FORMAT_DEFAULT
-
Method Summary
-
-
-
Field Detail
-
DATETIME_FORMAT_DEFAULT
public static final String DATETIME_FORMAT_DEFAULT
- See Also:
- Constant Field Values
-
TIME_FORMAT_DEFAULT
public static final String TIME_FORMAT_DEFAULT
- See Also:
- Constant Field Values
-
DATE_FORMAT_DEFAULT
public static final String DATE_FORMAT_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static WorkspaceSettings getInstance()
-
flush
public void flush()
-
addSettingsListener
public void addSettingsListener(SettingsListener listener)
-
removeSettingsListener
public void removeSettingsListener(SettingsListener listener)
-
fireSettingsChanged
public void fireSettingsChanged()
-
isReopenLastReport
public boolean isReopenLastReport()
-
setReopenLastReport
public void setReopenLastReport(boolean b)
-
isShowExpertItems
public boolean isShowExpertItems()
-
setShowExpertItems
public void setShowExpertItems(boolean b)
-
isSplashScreenVisible
public boolean isSplashScreenVisible()
-
setSplashScreenVisible
public void setSplashScreenVisible(boolean b)
-
isShowDeprecatedItems
public boolean isShowDeprecatedItems()
-
setShowDeprecatedItems
public void setShowDeprecatedItems(boolean b)
-
isShowOverlappingElements
public boolean isShowOverlappingElements()
-
setShowOverlappingElements
public void setShowOverlappingElements(boolean b)
-
isShowElementAlignmentHints
public boolean isShowElementAlignmentHints()
-
setShowElementAlignmentHints
public void setShowElementAlignmentHints(boolean showElementAlignmentHints)
-
isSnapToElements
public boolean isSnapToElements()
-
setSnapToElements
public void setSnapToElements(boolean snapToElements)
-
isSnapToGuideLines
public boolean isSnapToGuideLines()
-
setSnapToGuideLines
public void setSnapToGuideLines(boolean snapToElements)
-
getDrawSelectionType
public DrawSelectionType getDrawSelectionType()
-
setDrawSelectionType
public void setDrawSelectionType(DrawSelectionType unit)
-
isUseVersionChecker
public boolean isUseVersionChecker()
-
isInitialVersionCheck
public boolean isInitialVersionCheck()
-
setUseVersionChecker
public void setUseVersionChecker(boolean useVersionChecker)
-
setBounds
public void setBounds(Rectangle rectangle)
-
getBounds
public Rectangle getBounds()
-
setFieldPaletteBounds
public void setFieldPaletteBounds(Rectangle rectangle)
-
getFieldPaletteBounds
public Rectangle getFieldPaletteBounds()
-
setLNF
public void setLNF(String lnf)
-
getLNF
public String getLNF()
-
isSnapToGrid
public boolean isSnapToGrid()
-
setSnapToGrid
public void setSnapToGrid(boolean snapToGrid)
-
isShowGrid
public boolean isShowGrid()
-
setShowGrid
public void setShowGrid(boolean showGrid)
-
isAlwaysDrawElementFrames
public boolean isAlwaysDrawElementFrames()
-
setAlwaysDrawElementFrames
public void setAlwaysDrawElementFrames(boolean alwaysDrawElementFrames)
-
isNotifyForAllBuilds
public boolean isNotifyForAllBuilds()
-
setNotifyForAllBuilds
public void setNotifyForAllBuilds(boolean notifyForAllBuilds)
-
getLastPromptedVersionUpdate
public String getLastPromptedVersionUpdate()
-
setLastPromptedVersionUpdate
public void setLastPromptedVersionUpdate(String lastPromptedVersionUpdate)
-
getGridSize
public double getGridSize()
-
setGridSize
public void setGridSize(double gridSize)
-
getGridDivisions
public int getGridDivisions()
-
setGridDivisions
public void setGridDivisions(int gridDivisions)
-
getUnit
public Unit getUnit()
-
setUnit
public void setUnit(Unit unit)
-
isOfflineMode
public boolean isOfflineMode()
-
setOfflineMode
public void setOfflineMode(boolean snapToGrid)
-
isExperimentalFeaturesVisible
public boolean isExperimentalFeaturesVisible()
-
getMaturityLevel
public org.pentaho.reporting.engine.classic.core.metadata.MaturityLevel getMaturityLevel()
-
isMatureFeature
public boolean isMatureFeature(org.pentaho.reporting.engine.classic.core.metadata.MaturityLevel ml)
-
isMatureFeature
public boolean isMatureFeature(org.pentaho.reporting.engine.classic.core.metadata.MetaData ml)
-
isVisible
public boolean isVisible(org.pentaho.reporting.engine.classic.core.metadata.MetaData ml)
-
setMaturityLevel
public void setMaturityLevel(org.pentaho.reporting.engine.classic.core.metadata.MaturityLevel ml)
-
setExperimentalFeaturesVisible
@Deprecated public void setExperimentalFeaturesVisible(boolean snapToGrid)
Deprecated.
-
isDebugFeaturesVisible
public boolean isDebugFeaturesVisible()
-
setDebugFeaturesVisible
public void setDebugFeaturesVisible(boolean snapToGrid)
-
isNonCoreFeaturesVisible
@Deprecated public boolean isNonCoreFeaturesVisible()
Deprecated.
-
setNonCoreFeaturesVisible
@Deprecated public void setNonCoreFeaturesVisible(boolean snapToGrid)
Deprecated.
-
isFieldSelectorVisible
public boolean isFieldSelectorVisible()
-
setFieldSelectorVisible
public void setFieldSelectorVisible(boolean snapToGrid)
-
setShowLauncher
public void setShowLauncher(boolean flag)
-
isShowLauncher
public boolean isShowLauncher()
-
isElementsDisplayNames
public boolean isElementsDisplayNames()
-
isElementsDisplayValues
public boolean isElementsDisplayValues()
-
setElementsDisplayNames
public void setElementsDisplayNames()
-
setElementsDisplayValues
public void setElementsDisplayValues()
-
getDateFormatPattern
public String getDateFormatPattern()
- Specified by:
getDateFormatPattern
in interfaceorg.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
-
setDateFormatPattern
public void setDateFormatPattern(String dateFormatPattern)
-
getTimeFormatPattern
public String getTimeFormatPattern()
- Specified by:
getTimeFormatPattern
in interfaceorg.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
-
setTimeFormatPattern
public void setTimeFormatPattern(String timeFormatPattern)
-
getDatetimeFormatPattern
public String getDatetimeFormatPattern()
- Specified by:
getDatetimeFormatPattern
in interfaceorg.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
-
setDatetimeFormatPattern
public void setDatetimeFormatPattern(String datetimeFormatPattern)
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceorg.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
-
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interfaceorg.pentaho.reporting.libraries.designtime.swing.settings.LocaleSettings
-
isRememberPasswords
public boolean isRememberPasswords()
-
setRememberPasswords
public void setRememberPasswords(boolean flag)
-
getConnectionTimeout
public int getConnectionTimeout()
-
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout)
-
isShowIndexColumns
public boolean isShowIndexColumns()
-
setShowIndexColumns
public void setShowIndexColumns(boolean flag)
-
getSnapThreshold
public long getSnapThreshold()
-
getGridColor
public Color getGridColor()
-
setGridColor
public void setGridColor(Color value)
-
getGuideColor
public Color getGuideColor()
-
setGuideColor
public void setGuideColor(Color value)
-
getAlignmentHintColor
public Color getAlignmentHintColor()
-
setAlignmentHintColor
public void setAlignmentHintColor(Color value)
-
getOverlapErrorColor
public Color getOverlapErrorColor()
-
setOverlapErrorColor
public void setOverlapErrorColor(Color value)
-
-