public abstract class AbstractSettings extends java.lang.Object implements ISettings2
CONNECTION_ARROW_RIGHT_TO_LEFT, CONNECTION_ARROW_RIGHT_TO_TOP, CONNECTION_BIRDS_FLIGHT_PATH, CONNECTION_MS_PROJECT_STYLE, DEFAULT_CONNECTION_ARROW, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, VIEW_D_DAY, VIEW_DAY, VIEW_MINUTE, VIEW_MONTH, VIEW_WEEK, VIEW_YEAR, ZOOM_DAY_MAX, ZOOM_DAY_MEDIUM, ZOOM_DAY_NORMAL, ZOOM_HOURS_MAX, ZOOM_HOURS_MEDIUM, ZOOM_HOURS_NORMAL, ZOOM_MINUTES_MAX, ZOOM_MINUTES_MEDIUM, ZOOM_MINUTES_NORMAL, ZOOM_MONTH_MAX, ZOOM_MONTH_MEDIUM, ZOOM_MONTH_NORMAL, ZOOM_SECONDS_MAX, ZOOM_SECONDS_MEDIUM, ZOOM_SECONDS_NORMAL, ZOOM_YEAR_MAX, ZOOM_YEAR_MEDIUM, ZOOM_YEAR_NORMAL, ZOOM_YEAR_SMALL, ZOOM_YEAR_VERY_SMALL
Constructor and Description |
---|
AbstractSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
adjustForLetters()
Letters have different width.
|
boolean |
allowArrowKeysToScrollChart()
Whether arrow keys are enabled to scroll chart left/right/up/down.
|
boolean |
allowBlankAreaDragAndDropToMoveDates()
If true, it lets the move forwards or backwards in time by clicking in a "blank" area and dragging the mouse.
|
boolean |
allowBlankAreaVerticalDragAndDropToMoveChart()
Relies on
ISettings.allowBlankAreaDragAndDropToMoveDates() being true. |
boolean |
allowCheckpointResizing()
Whether checkpoints can be resized (assuming resizing is on
ISettings.enableResizing() ). |
boolean |
allowHeaderSelection()
Whether selecting dates in the header is allowed by clicking the date.
|
boolean |
allowInfiniteHorizontalScrollBar()
Whether to mimic Microsoft © Project's infinite scrollbar which lets users scroll into the future or past indefinitely.
|
boolean |
allowPhaseOverlap()
When phases are resized or moved, whether an overlap resize/move should be accepted or not.
|
boolean |
allowScopeMenu()
Whether scopes can show a right click menu or not.
|
boolean |
alwaysDragAllEvents()
The default behaviour in GanttChart on moving an event is that only the current dragged
event is moved unless you press the SHIFT key.
|
boolean |
drawEventsDownToTheHourAndMinute()
If this returns true, events are never rounded up to their nearest hour/minute when shown in the chart, but will
always show down to the minute even in any mid-zoomed and fully-zoomed out view (this does not do anything to the
normal minute view).
|
boolean |
drawEventString()
Global configuration to specify if the text of GanttEvents should be rendered or not.
|
boolean |
drawFillsToBottomWhenUsingGanttSections()
Whether to draw fills and vertical lines etc to the bottom when GanttSections are used.
|
boolean |
drawFullPercentageBar()
The percentage bar always draws as a line in the center of the event but normally it only draws the part that
displays the % complete.
|
boolean |
drawGanttSectionBarToBottom()
Whether the GanttSection bar should draw all the way down or not.
|
boolean |
drawHeader()
Whether to draw the header or not.
|
boolean |
drawHorizontalLines()
Whether to draw horizontal lines between the events.
|
boolean |
drawLockedDateMarks()
When dates are locked down to a certain day, the chart will draw a special marker on the lock start and end dates
to point out that it's locked between certain constraints.
|
boolean |
drawSectionBar()
Configure whether the section bar should be rendered.
|
boolean |
drawSectionDetails()
Configure whether there should be an additional area to the section bar
that shows additional section detail information.
|
boolean |
drawSelectionMarkerAroundSelectedEvent()
If true, draws a dotted selection marker around the currently selected event to visualize the selection.
|
boolean |
drawVerticalLines()
The vertical lines are the lines that divide days and weeks etc.
|
boolean |
enableAddEvent() |
boolean |
enableAutoScroll()
Whether to enable auto scroll which causes the chart to scroll either left or right when events are dragged or
resized beyond the bounds of the chart.
|
boolean |
enableDragAndDrop()
Whether event drag-and-drop is turned on or off.
|
boolean |
enableLastDraw()
See IGanttEventListener's lastDraw(GC gc) method method info.
|
boolean |
enableResizing()
Whether event-resizing is turned on or off.
|
boolean |
enableTodayLineUpdater()
Start the updating tread for TodayLine (red line marking current time)
|
boolean |
enableZooming()
If zooming in/out should be enabled or disabled.
|
boolean |
fireEmptyEventSelection()
whether
IGanttEventListener.eventSelected(GanttEvent, java.util.List, org.eclipse.swt.events.MouseEvent) should also
be called on empty selection |
boolean |
flipBlankAreaDragDirection()
If for some reason the drag left vs.
|
boolean |
forceMouseWheelVerticalScroll()
In SWT 3.5 it seems the mousewheel is not interpreted the same as in previous versions.
|
int |
getAdvancedTooltipXOffset()
Advanced tooltips are shells and by default they pop up where the mouse pointer is.
|
int |
getArrowConnectionType()
What type of arrow connection to draw.
|
int |
getArrowHeadEventSpacer()
Returns the space between the head of the dependency arrowhead and the event.
|
int |
getArrowHeadVerticalAdjuster()
If you for some reason wish to move the arrow head up or down vertically, setting a number here will modify the
vertical "extra".
|
int |
getCalendarStartupDateOffset()
Date offset of the startup date that the calendar should start at.
|
java.lang.String |
getDateFormat()
The date format to use when displaying dates in string format.
|
java.lang.String |
getDayHeaderTextDisplayFormatBottom()
The SimpleDateFormat of the text shown in the bottom header for the day view.
|
java.lang.String |
getDayHeaderTextDisplayFormatTop()
The SimpleDateFormat of the text shown in the top header for the day view.
|
int |
getDayHorizontalSpacing()
Returns the spacing from the top where the day letter is printed.
|
int |
getDayVerticalSpacing()
Returns the space from the left of the border where the day letter is printed.
|
int |
getDayWidth()
Returns the width for each day that is drawn.
|
java.util.Calendar |
getDDayRootCalendar()
It's highly suggested you use the default implementation of this method.
|
int |
getDDaySplitCount()
The value where D-days have their "weeks" so to speak, this is used to calculate the numbers shown in both
headers, where the top header is displaying each "set" whereas the bottom one shows numbers from 0 to the number
returned by this method.
|
java.lang.String |
getDefaultAdvancedTooltipHelpText()
The default help text shown in the advanced tooltip.
|
java.lang.String |
getDefaultAdvancedTooltipText()
The default tooltip shown in the advanced tooltip.
|
java.lang.String |
getDefaultAdvancedTooltipTextExtended()
The default extended tooltip shown in the advanced tooltip.
|
java.lang.String |
getDefaultAdvancedTooltipTitle()
The default title text shown in the advanced tooltip.
|
org.eclipse.swt.graphics.Image |
getDefaultAdvandedTooltipHelpImage()
The default help image used in the advanced tooltip.
|
org.eclipse.swt.graphics.Image |
getDefaultAdvandedTooltipImage()
The default image used in the advanced tooltip.
|
org.eclipse.swt.graphics.Color |
getDefaultEventColor()
The default color for an event when there is none set on the event itself.
|
org.eclipse.swt.graphics.Color |
getDefaultGradientEventColor()
The default gradient color for an event (if gradients are turned on).
|
java.util.Locale |
getDefaultLocale()
Locale used for calendars and wherever needed.
|
int |
getDragAllModifierKey()
The keyboard modifier key (also known as a hint) used to determine when it's a drag-all-linked-events
ISettings.moveLinkedEventsWhenEventsAreMoved() event or just a normal drag. |
int |
getEventHeight()
Returns the height for each event, including checkpoints.
|
int |
getEventPercentageBarHeight()
Returns the height of the bar that is drawn inside the events that represents the percentage done.
|
int |
getEventsBottomSpacer()
Bottom spacer between the bottom event and the section divider when using GanttSections.
|
int |
getEventSpacer()
Returns the vertical space between each event.
|
int |
getEventsTopSpacer()
Top spacer between the top pixel and the beginning of the first event.
|
int |
getHeaderDayHeight()
Returns the height of the header section that displays the days.
|
int |
getHeaderMonthHeight()
Returns the height of the header section that displays the month names.
|
java.lang.String |
getHourDateFormat()
The date format to use when displaying dates in string format in the hours view.
|
int |
getInitialView()
What view is used when the chart is initially drawn.
|
int |
getInitialZoomLevel()
What initial zoom level is used when the chart is initially drawn.
|
org.eclipse.swt.graphics.Image |
getLockImage()
Returns the image used for displaying something as locked in the GANTT chart.
|
int |
getMinimumSectionHeight()
Minimum height of sections.
|
java.lang.String |
getMinuteDateFormat()
The date format to use when displaying dates in string format in the minutes view.
|
java.lang.String |
getMinuteHeaderTextDisplayFormatBottom()
The SimpleDateFormat of the text shown in the bottom header for the minute view.
|
java.lang.String |
getMinuteHeaderTextDisplayFormatTop()
The SimpleDateFormat of the text shown in the top header for the minute view.
|
int |
getMinZoomLevel()
Returns the minimum zoom level.
|
int |
getMonthDayWidth()
Returns the width for each day that is drawn in the monthly view.
|
java.lang.String |
getMonthHeaderTextDisplayFormatBottom()
The SimpleDateFormat of the text shown in the bottom header for the month view.
|
java.lang.String |
getMonthHeaderTextDisplayFormatTop()
The SimpleDateFormat of the text shown in the top header for the month view.
|
int |
getMoveAreaNegativeSensitivity()
Returns the number of pixels off each side of an event towards the center of it that is ignored when trying to
move an event.
|
int |
getNumberOfDaysToAppendForEndOfDay()
Normally a day is calculated as day_starts->day_ends, which means that to make an event that starts and ends on the same day count as "anything", +1 is
added by default to make the event actually show up on the chart.
|
int |
getPercentageBarAlpha()
The Alpha level of the percentage complete bar.
|
java.util.Calendar |
getPeriodEnd()
Specify a period end.
|
java.util.Calendar |
getPeriodStart()
Specify a period start.
|
int |
getPhasesHeaderHeight()
When drawing
GanttPhase s this is the header height used for displaying the names of these phases. |
int |
getRemainderPercentageBarAlpha()
The Alpha level of the remaining percentage complete bar.
|
int |
getResizeBorderSensitivity()
Returns the number of pixels off each side of an event that is the area for which the resize cursor is shown.
|
int |
getReverseDependencyLineHorizontalSpacer()
If you plan on using reverse dependencies, this value will be interesting.
|
int |
getRevisedLineSpacer()
The distance from the event top (and event bottom) that is used to draw the line portraying revised start and end
dates.
|
int |
getSectionBarDividerHeight()
The height of the bar drawn between sections.
|
int |
getSectionBarWidth()
Width of the section bar.
|
ISectionDetailContentReplacer |
getSectionDetailContentReplacer()
Returns the custom section detail generator which generates the section detail
out of custom data for a GanttSection.
|
java.lang.String |
getSectionDetailText()
The detail information that should be rendered in the section detail area.
|
java.lang.String |
getSectionDetailTitle()
The section detail area title that should be rendered in the section detail area.
|
int |
getSectionDetailWidth() |
int |
getSectionSide()
Which side the section bar should be drawn on.
|
int |
getSectionTextSpacer()
If the name of any section is so large that it basically defines the size of the section, this value is used to
space out the text slightly so that the section borders don't hug the text.
|
java.util.Calendar |
getStartupCalendarDate()
Returns the position that the calendar should start on when first created.
|
java.lang.String |
getTextDisplayFormat()
Decides how the string behind the event is displayed.
|
int |
getTextSpacerConnected()
Returns the space between the actual event and the text that is written after the event when the event has a
connecting line extending from it.
|
int |
getTextSpacerNonConnected()
Returns the space between the actual event and the text that is written after the event when the event has no
connecting line extending from it.
|
int |
getTodayLineStyle()
The default line style of the line showing where today's date is.
|
int |
getTodayLineVerticalOffset()
The vertical offset from the top for the today line calculated from the bottom part of the header.
|
int |
getTodayLineWidth()
The width of the line showing where today's date is.
|
IToolTipContentReplacer |
getToolTipContentReplacer()
Returns the custom tool tip generator which generates the tooltip
out of custom data for a GanttEvent.
|
boolean |
getUseAdvancedTooltips()
Whether to use Advanced Tooltips by default.
|
int |
getVerticalDragResistance()
For events that can be dragged vertically, this is the "resistance" in pixels before the event "lets go"
of it's horizontal location.
|
int |
getVerticalEventDragging()
What style of vertical event dragging that is enabled.
|
int |
getVerticalTickMarkOffset()
The vertical offset from top for the tick marks in the top header.
|
java.lang.String |
getWeekHeaderTextDisplayFormatBottom()
The SimpleDateFormat of the text shown in the bottom header for the week view.
|
java.lang.String |
getWeekHeaderTextDisplayFormatTop()
The SimpleDateFormat of the text shown in the top header for the week view.
|
java.lang.String |
getYearHeaderTextDisplayFormatBottom()
The SimpleDateFormat of the text shown in the bottom header for the year view.
|
java.lang.String |
getYearHeaderTextDisplayFormatTop()
The SimpleDateFormat of the text shown in the top header for the year view.
|
int |
getYearMonthDayWidth()
Returns the width for each day that is drawn in the yearly view.
|
int |
getZoomWheelModifierKey()
The keyboard modifier key combined with the scroll wheel to make the chart zoom.
|
boolean |
lockHeaderOnVerticalScroll()
Whether the header should always be visible regardless of vertical scroll position.
|
boolean |
moveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent()
If this returns true, only linked events that come after the source drag event (time/date-wise) will be
moved/resized (normally all linked events are moved/resized regardless of time/date).
|
boolean |
moveLinkedEventsWhenEventsAreMoved()
Whether users can hold down
SHIFT (or whatever the settings say) to move an event, and all dependent
events will move with the selected event. |
boolean |
onVerticalDragDropShowInsertMarker()
Whether an insert marker should be shown for where the dragged event will end up when a vertical drag/drop
is in progress.
|
boolean |
printFooter()
Configure whether a footer should be added to the print pages or not.
|
boolean |
printSelectedVerticallyComplete()
On printing a GanttChart it is possible to select to print only the selected area.
|
boolean |
roundHourlyEventsOffToNearestHour()
Whether to round off minutes on events to nearest hour.
|
boolean |
scaleImageToDayWidth()
Whether to allow an image to exceed the width of one day when zooming in / out.
|
boolean |
scrollChartVerticallyOnMouseWheel()
Whether the chart should scroll vertically when the mouse wheel is used.
|
boolean |
shiftHorizontalCenteredEventString()
If you want to show the event String within the event rectangle by setting the horizontalTextLocation of
the GanttEvent to SWT.CENTER, there are cases that break the visualization.
|
boolean |
showArrows()
If to draw arrows on connecting lines or not.
|
boolean |
showBarsIn3D()
Whether to show events in 3D (meaning, a drop shadow is drawn below and to the right of the event)
|
boolean |
showBoldScopeText()
Whether the name of the scope is drawn in bold or plain.
|
boolean |
showDateTips()
Whether to show date tooltips when events are moved or resized.
|
boolean |
showDateTipsOnScrolling()
Whether to show a date tooltip when scrolling horizontally (changing dates) and vertically.
|
boolean |
showDefaultMenuItemsOnEventRightClick()
Whether to show the default set of menu items on the right click menus of events.
|
boolean |
showDeleteMenuOption()
Whether to show the delete menu option in the right click menu.
|
boolean |
showGradientEventBars()
Whether to draw the color on the events using gradients.
|
boolean |
showHolidayToolTips()
Configure whether a tooltip pops up when hovering the mouse over a holiday
|
boolean |
showMenuItemsOnRightClick()
Whether to show any menu items at all when right clicking an event or a chart.
|
boolean |
showNumberOfDaysOnBars()
Whether to show a "plaque" on the event bars that displays a number of how many days the event spans over.
|
boolean |
showOnlyDependenciesForSelectedItems()
Whether to only show the dependency connections only when an event is selected, as opposed to always showing the
lines.
|
boolean |
showPlannedDates()
Whether to draw lines that show where the revised dates would have been on the chart (assuming revised dates are
set).
|
boolean |
showPropertiesMenuOption()
Whether to show the properties menu option in the right click menu.
|
boolean |
showResizeDateTipOnBorders()
Whether the date tooltip box (if turned on) when resizing should hug the border of the event on the left or right
side or if it should be simply stick somewhat to the event resize location.
|
boolean |
showSectionDetailMore() |
boolean |
showToolTips()
Whether to show tooltips when mouse is lingering over events.
|
boolean |
showZoomLevelBox()
Whether when a user zooms in or out (only via
CTRL (or whatever the settings say) +
Scroll Wheel ) to display a box in the bottom left corner that shows the zoom level. |
boolean |
startCalendarOnFirstDayOfWeek()
Moves the calendar to start on the first day of the week of the either current date or the date set in
ISettings.getStartupCalendarDate()
Please note, if the
ISettings.getCalendarStartupDateOffset() is set to other than zero, these two methods will most likely
clash. |
boolean |
useSplitArrowConnections()
If you plan on using reverse dependencies, you may want to flag this to true.
|
boolean |
zoomToMousePointerDateOnWheelZooming()
When you zoom in with the mouse, it can either act as a normal zoom (uses leftmost date as start date) or it can
zoom in where the mouse pointer is at the time of the zoom in.
|
public java.lang.String getDateFormat()
ISettings
getDateFormat
in interface ISettings
DateFormat
,
DateFormatSymbols
public java.lang.String getHourDateFormat()
ISettings
getHourDateFormat
in interface ISettings
DateFormat
,
DateFormatSymbols
public java.lang.String getMinuteDateFormat()
ISettings2
getMinuteDateFormat
in interface ISettings2
DateFormat
,
DateFormatSymbols
public java.lang.String getWeekHeaderTextDisplayFormatTop()
ISettings
getWeekHeaderTextDisplayFormatTop
in interface ISettings
public java.lang.String getMonthHeaderTextDisplayFormatTop()
ISettings
getMonthHeaderTextDisplayFormatTop
in interface ISettings
public java.lang.String getDayHeaderTextDisplayFormatTop()
ISettings
getDayHeaderTextDisplayFormatTop
in interface ISettings
SimpleDateFormat
string. May not be null.public java.lang.String getMinuteHeaderTextDisplayFormatTop()
ISettings2
getMinuteHeaderTextDisplayFormatTop
in interface ISettings2
SimpleDateFormat
string. May not be null.public java.lang.String getYearHeaderTextDisplayFormatTop()
ISettings
getYearHeaderTextDisplayFormatTop
in interface ISettings
public java.lang.String getDayHeaderTextDisplayFormatBottom()
ISettings
getDayHeaderTextDisplayFormatBottom
in interface ISettings
public java.lang.String getMinuteHeaderTextDisplayFormatBottom()
ISettings2
getMinuteHeaderTextDisplayFormatBottom
in interface ISettings2
public java.lang.String getMonthHeaderTextDisplayFormatBottom()
ISettings
getMonthHeaderTextDisplayFormatBottom
in interface ISettings
public java.lang.String getWeekHeaderTextDisplayFormatBottom()
ISettings
getWeekHeaderTextDisplayFormatBottom
in interface ISettings
public java.lang.String getYearHeaderTextDisplayFormatBottom()
ISettings
getYearHeaderTextDisplayFormatBottom
in interface ISettings
public org.eclipse.swt.graphics.Color getDefaultEventColor()
ISettings
getDefaultEventColor
in interface ISettings
public org.eclipse.swt.graphics.Color getDefaultGradientEventColor()
ISettings
getDefaultGradientEventColor
in interface ISettings
public boolean showPropertiesMenuOption()
ISettings
showPropertiesMenuOption
in interface ISettings
IGanttEventListener#eventPropertiesSelected(GanttEvent)
public boolean showDeleteMenuOption()
ISettings
showDeleteMenuOption
in interface ISettings
IGanttEventListener.eventsDeleteRequest(java.util.List, org.eclipse.swt.events.MouseEvent)
public boolean adjustForLetters()
ISettings
adjustForLetters
in interface ISettings
public boolean enableAutoScroll()
ISettings
enableAutoScroll
in interface ISettings
public boolean enableResizing()
ISettings
enableResizing
in interface ISettings
public int getArrowConnectionType()
ISettings
ISettings.CONNECTION_ARROW_RIGHT_TO_TOP
- Arrow line (and arrow head if turned on) will be drawn into the
events top and bottom corners.
ISettings.CONNECTION_ARROW_RIGHT_TO_LEFT
- Arrow line (and arrow head if turned on) will be drawn into the
events middle left or right side.
ISettings.CONNECTION_MS_PROJECT_STYLE
- Arrow line (and arrow head if turned on) will be drawn as
logically as possible from above event to below. Lines are rounded in corners and arrows will go to middle to top
of below event or to side depending on where event is situated.
ISettings.CONNECTION_BIRDS_FLIGHT_PATH
- Straight "as the bird flies" line between events without any bends.
getArrowConnectionType
in interface ISettings
CONNECTION_MS_PROJECT_STYLE
.ISettings.CONNECTION_MS_PROJECT_STYLE
public int getDayHorizontalSpacing()
ISettings
getDayHorizontalSpacing
in interface ISettings
public int getDayVerticalSpacing()
ISettings
getDayVerticalSpacing
in interface ISettings
public int getDayWidth()
ISettings
getDayWidth
in interface ISettings
public int getEventHeight()
ISettings
getEventHeight
in interface ISettings
public int getEventPercentageBarHeight()
ISettings
Note: If the event height is an even number, this number does best being odd, and vice versa.
getEventPercentageBarHeight
in interface ISettings
public int getHeaderMonthHeight()
ISettings
getHeaderMonthHeight
in interface ISettings
public int getHeaderDayHeight()
ISettings
getHeaderDayHeight
in interface ISettings
public int getInitialView()
ISettings
getInitialView
in interface ISettings
public int getInitialZoomLevel()
ISettings
ISettings.ZOOM_SECONDS_MAX
ISettings.ZOOM_SECONDS_MEDIUM
ISettings.ZOOM_SECONDS_NORMAL
ISettings.ZOOM_MINUTES_MAX
ISettings.ZOOM_MINUTES_MEDIUM
ISettings.ZOOM_MINUTES_NORMAL
ISettings.ZOOM_HOURS_MAX
ISettings.ZOOM_HOURS_MEDIUM
ISettings.ZOOM_HOURS_NORMAL
ISettings.ZOOM_DAY_MAX
ISettings.ZOOM_DAY_MEDIUM
ISettings.ZOOM_DAY_NORMAL
ISettings.ZOOM_MONTH_MAX
ISettings.ZOOM_MONTH_MEDIUM
ISettings.ZOOM_MONTH_NORMAL
ISettings.ZOOM_YEAR_MAX
ISettings.ZOOM_YEAR_MEDIUM
ISettings.ZOOM_YEAR_NORMAL
ISettings.ZOOM_YEAR_SMALL
ISettings.ZOOM_YEAR_VERY_SMALL
getInitialZoomLevel
in interface ISettings
ISettings.ZOOM_DAY_NORMAL
ISettings.ZOOM_DAY_MAX
public int getMonthDayWidth()
ISettings
getMonthDayWidth
in interface ISettings
public int getResizeBorderSensitivity()
ISettings
getResizeBorderSensitivity
in interface ISettings
public int getTextSpacerConnected()
ISettings
getTextSpacerConnected
in interface ISettings
public int getTextSpacerNonConnected()
ISettings
getTextSpacerNonConnected
in interface ISettings
public int getYearMonthDayWidth()
ISettings
WARNING: Setting this value below 3 will cause an infinite loop and probable application crash. This happens as internal size calculations end up on 0 width (rounded) values.
getYearMonthDayWidth
in interface ISettings
public boolean moveLinkedEventsWhenEventsAreMoved()
ISettings
SHIFT
(or whatever the settings say) to move an event, and all dependent
events will move with the selected event.moveLinkedEventsWhenEventsAreMoved
in interface ISettings
ISettings.getDragAllModifierKey()
public boolean showArrows()
ISettings
showArrows
in interface ISettings
public boolean showBarsIn3D()
ISettings
showBarsIn3D
in interface ISettings
public boolean showBoldScopeText()
ISettings
showBoldScopeText
in interface ISettings
public boolean showDateTips()
ISettings
showDateTips
in interface ISettings
public boolean showPlannedDates()
ISettings
showPlannedDates
in interface ISettings
public boolean showGradientEventBars()
ISettings
GanttEvent.setGradientStatusColor(Color)
and GanttEvent.setStatusColor(Color)
.showGradientEventBars
in interface ISettings
GanttEvent.setGradientStatusColor(Color)
,
GanttEvent.setStatusColor(Color)
public boolean showNumberOfDaysOnBars()
ISettings
showNumberOfDaysOnBars
in interface ISettings
public boolean showOnlyDependenciesForSelectedItems()
ISettings
showOnlyDependenciesForSelectedItems
in interface ISettings
public boolean showToolTips()
ISettings
showToolTips
in interface ISettings
public int getEventSpacer()
ISettings
getEventSpacer
in interface ISettings
public boolean enableDragAndDrop()
ISettings
enableDragAndDrop
in interface ISettings
public boolean showZoomLevelBox()
ISettings
CTRL
(or whatever the settings say) +
Scroll Wheel
) to display a box in the bottom left corner that shows the zoom level.showZoomLevelBox
in interface ISettings
ISettings.getZoomWheelModifierKey()
public boolean allowInfiniteHorizontalScrollBar()
ISettings
allowInfiniteHorizontalScrollBar
in interface ISettings
public boolean showResizeDateTipOnBorders()
ISettings
showResizeDateTipOnBorders
in interface ISettings
public boolean allowBlankAreaDragAndDropToMoveDates()
ISettings
allowBlankAreaDragAndDropToMoveDates
in interface ISettings
public boolean allowBlankAreaVerticalDragAndDropToMoveChart()
ISettings
ISettings.allowBlankAreaDragAndDropToMoveDates()
being true. If so, this will additionally determine if the user
can blank-area drag the chart in a vertical manner to move the chart in that direction as well.
Holding down the shift key will double the speed of the vertical dragallowBlankAreaVerticalDragAndDropToMoveChart
in interface ISettings
public boolean flipBlankAreaDragDirection()
ISettings
ISettings.allowBlankAreaDragAndDropToMoveDates()
is active.flipBlankAreaDragDirection
in interface ISettings
ISettings.allowBlankAreaDragAndDropToMoveDates()
public boolean drawSelectionMarkerAroundSelectedEvent()
ISettings
drawSelectionMarkerAroundSelectedEvent
in interface ISettings
public boolean allowCheckpointResizing()
ISettings
ISettings.enableResizing()
).allowCheckpointResizing
in interface ISettings
ISettings.enableResizing()
public boolean showMenuItemsOnRightClick()
ISettings
showMenuItemsOnRightClick
in interface ISettings
public int getArrowHeadEventSpacer()
ISettings
getArrowHeadEventSpacer
in interface ISettings
public int getArrowHeadVerticalAdjuster()
ISettings
getArrowHeadVerticalAdjuster
in interface ISettings
public java.util.Calendar getStartupCalendarDate()
ISettings
ISettings.getDefaultLocale()
.getStartupCalendarDate
in interface ISettings
public int getCalendarStartupDateOffset()
ISettings
getCalendarStartupDateOffset
in interface ISettings
public boolean startCalendarOnFirstDayOfWeek()
ISettings
ISettings.getStartupCalendarDate()
Please note, if the
ISettings.getCalendarStartupDateOffset()
is set to other than zero, these two methods will most likely
clash.
This setting has no effect on D-Day charts.startCalendarOnFirstDayOfWeek
in interface ISettings
ISettings.getCalendarStartupDateOffset()
,
ISettings.getStartupCalendarDate()
public int getMoveAreaNegativeSensitivity()
ISettings
getMoveAreaNegativeSensitivity
in interface ISettings
public boolean enableZooming()
ISettings
enableZooming
in interface ISettings
public org.eclipse.swt.graphics.Image getLockImage()
ISettings
getLockImage
in interface ISettings
lock_tiny.gif
image in the package.public java.lang.String getTextDisplayFormat()
ISettings
getTextDisplayFormat
in interface ISettings
GanttEvent.setTextDisplayFormat(String)
public int getRevisedLineSpacer()
ISettings
getRevisedLineSpacer
in interface ISettings
public org.eclipse.swt.graphics.Image getDefaultAdvandedTooltipHelpImage()
ISettings
getDefaultAdvandedTooltipHelpImage
in interface ISettings
public org.eclipse.swt.graphics.Image getDefaultAdvandedTooltipImage()
ISettings
getDefaultAdvandedTooltipImage
in interface ISettings
public boolean roundHourlyEventsOffToNearestHour()
ISettings
roundHourlyEventsOffToNearestHour
in interface ISettings
public java.lang.String getDefaultAdvancedTooltipHelpText()
ISettings
getDefaultAdvancedTooltipHelpText
in interface ISettings
public java.lang.String getDefaultAdvancedTooltipTitle()
ISettings
getDefaultAdvancedTooltipTitle
in interface ISettings
public java.lang.String getDefaultAdvancedTooltipTextExtended()
ISettings
getDefaultAdvancedTooltipTextExtended
in interface ISettings
public java.lang.String getDefaultAdvancedTooltipText()
ISettings
getDefaultAdvancedTooltipText
in interface ISettings
public int getTodayLineStyle()
ISettings
getTodayLineStyle
in interface ISettings
public int getTodayLineWidth()
ISettings
getTodayLineWidth
in interface ISettings
public int getTodayLineVerticalOffset()
ISettings
getTodayLineVerticalOffset
in interface ISettings
public int getVerticalTickMarkOffset()
ISettings
getVerticalTickMarkOffset
in interface ISettings
public boolean drawHeader()
ISettings
drawHeader
in interface ISettings
public int getEventsTopSpacer()
ISettings
getEventsTopSpacer
in interface ISettings
public int getEventsBottomSpacer()
ISettings
getEventsBottomSpacer
in interface ISettings
public int getSectionBarDividerHeight()
ISettings
getSectionBarDividerHeight
in interface ISettings
public int getSectionBarWidth()
ISettings
getSectionBarWidth
in interface ISettings
public int getMinimumSectionHeight()
ISettings
1. Space the section name takes up vertically
2. Space all contained events take up including various event spacers.
If the two calculations above are smaller than the value returned by this method, the height returned from this method will be used.
getMinimumSectionHeight
in interface ISettings
public boolean drawFullPercentageBar()
ISettings
drawFullPercentageBar
in interface ISettings
public int getPercentageBarAlpha()
ISettings
getPercentageBarAlpha
in interface ISettings
public int getRemainderPercentageBarAlpha()
ISettings
getRemainderPercentageBarAlpha
in interface ISettings
public int getAdvancedTooltipXOffset()
ISettings
getAdvancedTooltipXOffset
in interface ISettings
public int getDragAllModifierKey()
ISettings
ISettings.moveLinkedEventsWhenEventsAreMoved()
event or just a normal drag.getDragAllModifierKey
in interface ISettings
SWT.SHIFT
(the shift key)ISettings.moveLinkedEventsWhenEventsAreMoved()
public int getZoomWheelModifierKey()
ISettings
getZoomWheelModifierKey
in interface ISettings
SWT.MOD1
(usually the CTRL
key)public java.util.Locale getDefaultLocale()
ISettings
getDefaultLocale
in interface ISettings
public boolean getUseAdvancedTooltips()
ISettings
getUseAdvancedTooltips
in interface ISettings
public boolean enableLastDraw()
ISettings
enableLastDraw
in interface ISettings
IGanttEventListener.lastDraw(org.eclipse.swt.graphics.GC)
public boolean useSplitArrowConnections()
ISettings
useSplitArrowConnections
in interface ISettings
public int getReverseDependencyLineHorizontalSpacer()
ISettings
getReverseDependencyLineHorizontalSpacer
in interface ISettings
public boolean drawVerticalLines()
ISettings
drawVerticalLines
in interface ISettings
GanttComposite#setDrawVerticalLinesOverride(Boolean)
public boolean drawHorizontalLines()
ISettings
drawHorizontalLines
in interface ISettings
GanttComposite#setDrawHorizontalLinesOverride(Boolean)
public int getSectionSide()
ISettings
SWT.LEFT
or SWT.RIGHT
.getSectionSide
in interface ISettings
SWT.LEFT
.public boolean drawLockedDateMarks()
ISettings
drawLockedDateMarks
in interface ISettings
public boolean showDateTipsOnScrolling()
ISettings
showDateTipsOnScrolling
in interface ISettings
ISettings.showDateTips()
public boolean drawFillsToBottomWhenUsingGanttSections()
ISettings
drawFillsToBottomWhenUsingGanttSections
in interface ISettings
public boolean drawGanttSectionBarToBottom()
ISettings
drawGanttSectionBarToBottom
in interface ISettings
public boolean lockHeaderOnVerticalScroll()
ISettings
lockHeaderOnVerticalScroll
in interface ISettings
public boolean showDefaultMenuItemsOnEventRightClick()
ISettings
showDefaultMenuItemsOnEventRightClick
in interface ISettings
ISettings.showMenuItemsOnRightClick()
,
ISettings.showPropertiesMenuOption()
,
ISettings.showDeleteMenuOption()
,
GanttEvent.getMenu()
public boolean allowScopeMenu()
ISettings
allowScopeMenu
in interface ISettings
GanttEvent.getMenu()
,
GanttEvent.showAllChildren()
,
GanttEvent.hideAllChildren()
public boolean allowHeaderSelection()
ISettings
allowHeaderSelection
in interface ISettings
public boolean zoomToMousePointerDateOnWheelZooming()
ISettings
zoomToMousePointerDateOnWheelZooming
in interface ISettings
public java.util.Calendar getDDayRootCalendar()
ISettings
getDDayRootCalendar
in interface ISettings
public int getDDaySplitCount()
ISettings
getDDaySplitCount
in interface ISettings
public boolean drawEventsDownToTheHourAndMinute()
ISettings
drawEventsDownToTheHourAndMinute
in interface ISettings
public boolean moveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent()
ISettings
moveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent
in interface ISettings
public boolean forceMouseWheelVerticalScroll()
ISettings
forceMouseWheelVerticalScroll
in interface ISettings
ISettings.scrollChartVerticallyOnMouseWheel()
public int getSectionTextSpacer()
ISettings
getSectionTextSpacer
in interface ISettings
public int getPhasesHeaderHeight()
ISettings
GanttPhase
s this is the header height used for displaying the names of these phases.getPhasesHeaderHeight
in interface ISettings
public boolean allowPhaseOverlap()
ISettings
allowPhaseOverlap
in interface ISettings
public int getVerticalEventDragging()
ISettings
ISettings.getVerticalDragResistance()
.getVerticalEventDragging
in interface ISettings
VerticalDragModes
. Default is VerticalDragModes.NO_VERTICAL_DRAG
public int getVerticalDragResistance()
ISettings
getVerticalDragResistance
in interface ISettings
public boolean onVerticalDragDropShowInsertMarker()
ISettings
onVerticalDragDropShowInsertMarker
in interface ISettings
public boolean scaleImageToDayWidth()
ISettings
scaleImageToDayWidth
in interface ISettings
public boolean allowArrowKeysToScrollChart()
ISettings
allowArrowKeysToScrollChart
in interface ISettings
public int getNumberOfDaysToAppendForEndOfDay()
ISettings
getNumberOfDaysToAppendForEndOfDay
in interface ISettings
public boolean scrollChartVerticallyOnMouseWheel()
ISettings
scrollChartVerticallyOnMouseWheel
in interface ISettings
public IToolTipContentReplacer getToolTipContentReplacer()
ISettings
getToolTipContentReplacer
in interface ISettings
public int getMinZoomLevel()
ISettings
ISettings.MIN_ZOOM_LEVEL
getMinZoomLevel
in interface ISettings
public java.util.Calendar getPeriodStart()
ISettings
null
will result in rendering
an additional line to the chart indicating a period start in the gantt itself.getPeriodStart
in interface ISettings
public java.util.Calendar getPeriodEnd()
ISettings
null
will result in rendering
an additional line to the chart indicating a period end in the gantt itself.getPeriodEnd
in interface ISettings
public boolean shiftHorizontalCenteredEventString()
ISettings
If this method returns true
, the AbstractPaintManager will shift the rendering of the event
String to the right if the String length is greater than the event rectangle.
shiftHorizontalCenteredEventString
in interface ISettings
true
if the event String should be shifted, false
if notpublic boolean enableAddEvent()
enableAddEvent
in interface ISettings
true
to enable the menu action for adding an event to the GanttChart,
false
if this action should not be available to the user.public boolean drawEventString()
ISettings
drawEventString
in interface ISettings
true
if the event text should be rendered, false
if not.public boolean alwaysDragAllEvents()
ISettings
alwaysDragAllEvents
in interface ISettings
true
if all selected events should be moved by dragging on of them
false
if only the current dragged event should be moved.public boolean printSelectedVerticallyComplete()
ISettings
printSelectedVerticallyComplete
in interface ISettings
true
if the printed chart should contain the whole chart
vertically but only the horizontal visible part of the chart,
false
if only the visible part of the chart should be printed,
horizontally AND verticallypublic boolean printFooter()
ISettings
printFooter
in interface ISettings
true
if a footer should be added to the print pages,
false
if notpublic boolean drawSectionBar()
ISettings
drawSectionBar
in interface ISettings
true
if the section bar should
be rendered, false
if notpublic boolean drawSectionDetails()
ISettings
drawSectionDetails
in interface ISettings
true
if additional section detail information should
be rendered, false
if notpublic int getSectionDetailWidth()
getSectionDetailWidth
in interface ISettings
public java.lang.String getSectionDetailTitle()
ISettings
getSectionDetailTitle
in interface ISettings
public java.lang.String getSectionDetailText()
ISettings
getSectionDetailText
in interface ISettings
public ISectionDetailContentReplacer getSectionDetailContentReplacer()
ISettings
getSectionDetailContentReplacer
in interface ISettings
public boolean showSectionDetailMore()
showSectionDetailMore
in interface ISettings
true
if there should be a "more [+]" shown in the section
detail area which allows to register a listener against to show more
informations by e.g. opening a dialog.public boolean showHolidayToolTips()
ISettings
showHolidayToolTips
in interface ISettings
true
to show a "holiday" popup with the configured name of the holiday,
false
if not (default)public boolean enableTodayLineUpdater()
ISettings2
enableTodayLineUpdater
in interface ISettings2
true
Start Thread
false
Skip Threadpublic boolean fireEmptyEventSelection()
ISettings
IGanttEventListener.eventSelected(GanttEvent, java.util.List, org.eclipse.swt.events.MouseEvent)
should also
be called on empty selectionfireEmptyEventSelection
in interface ISettings