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
GanttPhases 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()
ISettingsgetDateFormat in interface ISettingsDateFormat,
DateFormatSymbolspublic java.lang.String getHourDateFormat()
ISettingsgetHourDateFormat in interface ISettingsDateFormat,
DateFormatSymbolspublic java.lang.String getMinuteDateFormat()
ISettings2getMinuteDateFormat in interface ISettings2DateFormat,
DateFormatSymbolspublic java.lang.String getWeekHeaderTextDisplayFormatTop()
ISettingsgetWeekHeaderTextDisplayFormatTop in interface ISettingspublic java.lang.String getMonthHeaderTextDisplayFormatTop()
ISettingsgetMonthHeaderTextDisplayFormatTop in interface ISettingspublic java.lang.String getDayHeaderTextDisplayFormatTop()
ISettingsgetDayHeaderTextDisplayFormatTop in interface ISettingsSimpleDateFormat string. May not be null.public java.lang.String getMinuteHeaderTextDisplayFormatTop()
ISettings2getMinuteHeaderTextDisplayFormatTop in interface ISettings2SimpleDateFormat string. May not be null.public java.lang.String getYearHeaderTextDisplayFormatTop()
ISettingsgetYearHeaderTextDisplayFormatTop in interface ISettingspublic java.lang.String getDayHeaderTextDisplayFormatBottom()
ISettingsgetDayHeaderTextDisplayFormatBottom in interface ISettingspublic java.lang.String getMinuteHeaderTextDisplayFormatBottom()
ISettings2getMinuteHeaderTextDisplayFormatBottom in interface ISettings2public java.lang.String getMonthHeaderTextDisplayFormatBottom()
ISettingsgetMonthHeaderTextDisplayFormatBottom in interface ISettingspublic java.lang.String getWeekHeaderTextDisplayFormatBottom()
ISettingsgetWeekHeaderTextDisplayFormatBottom in interface ISettingspublic java.lang.String getYearHeaderTextDisplayFormatBottom()
ISettingsgetYearHeaderTextDisplayFormatBottom in interface ISettingspublic org.eclipse.swt.graphics.Color getDefaultEventColor()
ISettingsgetDefaultEventColor in interface ISettingspublic org.eclipse.swt.graphics.Color getDefaultGradientEventColor()
ISettingsgetDefaultGradientEventColor in interface ISettingspublic boolean showPropertiesMenuOption()
ISettingsshowPropertiesMenuOption in interface ISettingsIGanttEventListener#eventPropertiesSelected(GanttEvent)public boolean showDeleteMenuOption()
ISettingsshowDeleteMenuOption in interface ISettingsIGanttEventListener.eventsDeleteRequest(java.util.List, org.eclipse.swt.events.MouseEvent)public boolean adjustForLetters()
ISettingsadjustForLetters in interface ISettingspublic boolean enableAutoScroll()
ISettingsenableAutoScroll in interface ISettingspublic boolean enableResizing()
ISettingsenableResizing in interface ISettingspublic int getArrowConnectionType()
ISettingsISettings.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 ISettingsCONNECTION_MS_PROJECT_STYLE.ISettings.CONNECTION_MS_PROJECT_STYLEpublic int getDayHorizontalSpacing()
ISettingsgetDayHorizontalSpacing in interface ISettingspublic int getDayVerticalSpacing()
ISettingsgetDayVerticalSpacing in interface ISettingspublic int getDayWidth()
ISettingsgetDayWidth in interface ISettingspublic int getEventHeight()
ISettingsgetEventHeight in interface ISettingspublic int getEventPercentageBarHeight()
ISettingsNote: If the event height is an even number, this number does best being odd, and vice versa.
getEventPercentageBarHeight in interface ISettingspublic int getHeaderMonthHeight()
ISettingsgetHeaderMonthHeight in interface ISettingspublic int getHeaderDayHeight()
ISettingsgetHeaderDayHeight in interface ISettingspublic int getInitialView()
ISettingsgetInitialView in interface ISettingspublic int getInitialZoomLevel()
ISettingsISettings.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 ISettingsISettings.ZOOM_DAY_NORMALISettings.ZOOM_DAY_MAXpublic int getMonthDayWidth()
ISettingsgetMonthDayWidth in interface ISettingspublic int getResizeBorderSensitivity()
ISettingsgetResizeBorderSensitivity in interface ISettingspublic int getTextSpacerConnected()
ISettingsgetTextSpacerConnected in interface ISettingspublic int getTextSpacerNonConnected()
ISettingsgetTextSpacerNonConnected in interface ISettingspublic int getYearMonthDayWidth()
ISettingsWARNING: 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 ISettingspublic boolean moveLinkedEventsWhenEventsAreMoved()
ISettingsSHIFT (or whatever the settings say) to move an event, and all dependent
events will move with the selected event.moveLinkedEventsWhenEventsAreMoved in interface ISettingsISettings.getDragAllModifierKey()public boolean showArrows()
ISettingsshowArrows in interface ISettingspublic boolean showBarsIn3D()
ISettingsshowBarsIn3D in interface ISettingspublic boolean showBoldScopeText()
ISettingsshowBoldScopeText in interface ISettingspublic boolean showDateTips()
ISettingsshowDateTips in interface ISettingspublic boolean showPlannedDates()
ISettingsshowPlannedDates in interface ISettingspublic boolean showGradientEventBars()
ISettingsGanttEvent.setGradientStatusColor(Color) and GanttEvent.setStatusColor(Color).showGradientEventBars in interface ISettingsGanttEvent.setGradientStatusColor(Color),
GanttEvent.setStatusColor(Color)public boolean showNumberOfDaysOnBars()
ISettingsshowNumberOfDaysOnBars in interface ISettingspublic boolean showOnlyDependenciesForSelectedItems()
ISettingsshowOnlyDependenciesForSelectedItems in interface ISettingspublic boolean showToolTips()
ISettingsshowToolTips in interface ISettingspublic int getEventSpacer()
ISettingsgetEventSpacer in interface ISettingspublic boolean enableDragAndDrop()
ISettingsenableDragAndDrop in interface ISettingspublic boolean showZoomLevelBox()
ISettingsCTRL (or whatever the settings say) +
Scroll Wheel) to display a box in the bottom left corner that shows the zoom level.showZoomLevelBox in interface ISettingsISettings.getZoomWheelModifierKey()public boolean allowInfiniteHorizontalScrollBar()
ISettingsallowInfiniteHorizontalScrollBar in interface ISettingspublic boolean showResizeDateTipOnBorders()
ISettingsshowResizeDateTipOnBorders in interface ISettingspublic boolean allowBlankAreaDragAndDropToMoveDates()
ISettingsallowBlankAreaDragAndDropToMoveDates in interface ISettingspublic boolean allowBlankAreaVerticalDragAndDropToMoveChart()
ISettingsISettings.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 ISettingspublic boolean flipBlankAreaDragDirection()
ISettingsISettings.allowBlankAreaDragAndDropToMoveDates() is active.flipBlankAreaDragDirection in interface ISettingsISettings.allowBlankAreaDragAndDropToMoveDates()public boolean drawSelectionMarkerAroundSelectedEvent()
ISettingsdrawSelectionMarkerAroundSelectedEvent in interface ISettingspublic boolean allowCheckpointResizing()
ISettingsISettings.enableResizing()).allowCheckpointResizing in interface ISettingsISettings.enableResizing()public boolean showMenuItemsOnRightClick()
ISettingsshowMenuItemsOnRightClick in interface ISettingspublic int getArrowHeadEventSpacer()
ISettingsgetArrowHeadEventSpacer in interface ISettingspublic int getArrowHeadVerticalAdjuster()
ISettingsgetArrowHeadVerticalAdjuster in interface ISettingspublic java.util.Calendar getStartupCalendarDate()
ISettingsISettings.getDefaultLocale().getStartupCalendarDate in interface ISettingspublic int getCalendarStartupDateOffset()
ISettingsgetCalendarStartupDateOffset in interface ISettingspublic boolean startCalendarOnFirstDayOfWeek()
ISettingsISettings.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 ISettingsISettings.getCalendarStartupDateOffset(),
ISettings.getStartupCalendarDate()public int getMoveAreaNegativeSensitivity()
ISettingsgetMoveAreaNegativeSensitivity in interface ISettingspublic boolean enableZooming()
ISettingsenableZooming in interface ISettingspublic org.eclipse.swt.graphics.Image getLockImage()
ISettingsgetLockImage in interface ISettingslock_tiny.gif image in the package.public java.lang.String getTextDisplayFormat()
ISettingsgetTextDisplayFormat in interface ISettingsGanttEvent.setTextDisplayFormat(String)public int getRevisedLineSpacer()
ISettingsgetRevisedLineSpacer in interface ISettingspublic org.eclipse.swt.graphics.Image getDefaultAdvandedTooltipHelpImage()
ISettingsgetDefaultAdvandedTooltipHelpImage in interface ISettingspublic org.eclipse.swt.graphics.Image getDefaultAdvandedTooltipImage()
ISettingsgetDefaultAdvandedTooltipImage in interface ISettingspublic boolean roundHourlyEventsOffToNearestHour()
ISettingsroundHourlyEventsOffToNearestHour in interface ISettingspublic java.lang.String getDefaultAdvancedTooltipHelpText()
ISettingsgetDefaultAdvancedTooltipHelpText in interface ISettingspublic java.lang.String getDefaultAdvancedTooltipTitle()
ISettingsgetDefaultAdvancedTooltipTitle in interface ISettingspublic java.lang.String getDefaultAdvancedTooltipTextExtended()
ISettingsgetDefaultAdvancedTooltipTextExtended in interface ISettingspublic java.lang.String getDefaultAdvancedTooltipText()
ISettingsgetDefaultAdvancedTooltipText in interface ISettingspublic int getTodayLineStyle()
ISettingsgetTodayLineStyle in interface ISettingspublic int getTodayLineWidth()
ISettingsgetTodayLineWidth in interface ISettingspublic int getTodayLineVerticalOffset()
ISettingsgetTodayLineVerticalOffset in interface ISettingspublic int getVerticalTickMarkOffset()
ISettingsgetVerticalTickMarkOffset in interface ISettingspublic boolean drawHeader()
ISettingsdrawHeader in interface ISettingspublic int getEventsTopSpacer()
ISettingsgetEventsTopSpacer in interface ISettingspublic int getEventsBottomSpacer()
ISettingsgetEventsBottomSpacer in interface ISettingspublic int getSectionBarDividerHeight()
ISettingsgetSectionBarDividerHeight in interface ISettingspublic int getSectionBarWidth()
ISettingsgetSectionBarWidth in interface ISettingspublic 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 ISettingspublic boolean drawFullPercentageBar()
ISettingsdrawFullPercentageBar in interface ISettingspublic int getPercentageBarAlpha()
ISettingsgetPercentageBarAlpha in interface ISettingspublic int getRemainderPercentageBarAlpha()
ISettingsgetRemainderPercentageBarAlpha in interface ISettingspublic int getAdvancedTooltipXOffset()
ISettingsgetAdvancedTooltipXOffset in interface ISettingspublic int getDragAllModifierKey()
ISettingsISettings.moveLinkedEventsWhenEventsAreMoved() event or just a normal drag.getDragAllModifierKey in interface ISettingsSWT.SHIFT (the shift key)ISettings.moveLinkedEventsWhenEventsAreMoved()public int getZoomWheelModifierKey()
ISettingsgetZoomWheelModifierKey in interface ISettingsSWT.MOD1 (usually the CTRL key)public java.util.Locale getDefaultLocale()
ISettingsgetDefaultLocale in interface ISettingspublic boolean getUseAdvancedTooltips()
ISettingsgetUseAdvancedTooltips in interface ISettingspublic boolean enableLastDraw()
ISettingsenableLastDraw in interface ISettingsIGanttEventListener.lastDraw(org.eclipse.swt.graphics.GC)public boolean useSplitArrowConnections()
ISettingsuseSplitArrowConnections in interface ISettingspublic int getReverseDependencyLineHorizontalSpacer()
ISettingsgetReverseDependencyLineHorizontalSpacer in interface ISettingspublic boolean drawVerticalLines()
ISettingsdrawVerticalLines in interface ISettingsGanttComposite#setDrawVerticalLinesOverride(Boolean)public boolean drawHorizontalLines()
ISettingsdrawHorizontalLines in interface ISettingsGanttComposite#setDrawHorizontalLinesOverride(Boolean)public int getSectionSide()
ISettingsSWT.LEFT or SWT.RIGHT.getSectionSide in interface ISettingsSWT.LEFT.public boolean drawLockedDateMarks()
ISettingsdrawLockedDateMarks in interface ISettingspublic boolean showDateTipsOnScrolling()
ISettingsshowDateTipsOnScrolling in interface ISettingsISettings.showDateTips()public boolean drawFillsToBottomWhenUsingGanttSections()
ISettingsdrawFillsToBottomWhenUsingGanttSections in interface ISettingspublic boolean drawGanttSectionBarToBottom()
ISettingsdrawGanttSectionBarToBottom in interface ISettingspublic boolean lockHeaderOnVerticalScroll()
ISettingslockHeaderOnVerticalScroll in interface ISettingspublic boolean showDefaultMenuItemsOnEventRightClick()
ISettingsshowDefaultMenuItemsOnEventRightClick in interface ISettingsISettings.showMenuItemsOnRightClick(),
ISettings.showPropertiesMenuOption(),
ISettings.showDeleteMenuOption(),
GanttEvent.getMenu()public boolean allowScopeMenu()
ISettingsallowScopeMenu in interface ISettingsGanttEvent.getMenu(),
GanttEvent.showAllChildren(),
GanttEvent.hideAllChildren()public boolean allowHeaderSelection()
ISettingsallowHeaderSelection in interface ISettingspublic boolean zoomToMousePointerDateOnWheelZooming()
ISettingszoomToMousePointerDateOnWheelZooming in interface ISettingspublic java.util.Calendar getDDayRootCalendar()
ISettingsgetDDayRootCalendar in interface ISettingspublic int getDDaySplitCount()
ISettingsgetDDaySplitCount in interface ISettingspublic boolean drawEventsDownToTheHourAndMinute()
ISettingsdrawEventsDownToTheHourAndMinute in interface ISettingspublic boolean moveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent()
ISettingsmoveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent in interface ISettingspublic boolean forceMouseWheelVerticalScroll()
ISettingsforceMouseWheelVerticalScroll in interface ISettingsISettings.scrollChartVerticallyOnMouseWheel()public int getSectionTextSpacer()
ISettingsgetSectionTextSpacer in interface ISettingspublic int getPhasesHeaderHeight()
ISettingsGanttPhases this is the header height used for displaying the names of these phases.getPhasesHeaderHeight in interface ISettingspublic boolean allowPhaseOverlap()
ISettingsallowPhaseOverlap in interface ISettingspublic int getVerticalEventDragging()
ISettingsISettings.getVerticalDragResistance().getVerticalEventDragging in interface ISettingsVerticalDragModes. Default is VerticalDragModes.NO_VERTICAL_DRAGpublic int getVerticalDragResistance()
ISettingsgetVerticalDragResistance in interface ISettingspublic boolean onVerticalDragDropShowInsertMarker()
ISettingsonVerticalDragDropShowInsertMarker in interface ISettingspublic boolean scaleImageToDayWidth()
ISettingsscaleImageToDayWidth in interface ISettingspublic boolean allowArrowKeysToScrollChart()
ISettingsallowArrowKeysToScrollChart in interface ISettingspublic int getNumberOfDaysToAppendForEndOfDay()
ISettingsgetNumberOfDaysToAppendForEndOfDay in interface ISettingspublic boolean scrollChartVerticallyOnMouseWheel()
ISettingsscrollChartVerticallyOnMouseWheel in interface ISettingspublic IToolTipContentReplacer getToolTipContentReplacer()
ISettingsgetToolTipContentReplacer in interface ISettingspublic int getMinZoomLevel()
ISettingsISettings.MIN_ZOOM_LEVELgetMinZoomLevel in interface ISettingspublic java.util.Calendar getPeriodStart()
ISettingsnull will result in rendering
an additional line to the chart indicating a period start in the gantt itself.getPeriodStart in interface ISettingspublic java.util.Calendar getPeriodEnd()
ISettingsnull will result in rendering
an additional line to the chart indicating a period end in the gantt itself.getPeriodEnd in interface ISettingspublic 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 ISettingstrue if the event String should be shifted, false if notpublic boolean enableAddEvent()
enableAddEvent in interface ISettingstrue 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()
ISettingsdrawEventString in interface ISettingstrue if the event text should be rendered, false
if not.public boolean alwaysDragAllEvents()
ISettingsalwaysDragAllEvents in interface ISettingstrue 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()
ISettingsprintSelectedVerticallyComplete in interface ISettingstrue 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()
ISettingsprintFooter in interface ISettingstrue if a footer should be added to the print pages,
false if notpublic boolean drawSectionBar()
ISettingsdrawSectionBar in interface ISettingstrue if the section bar should
be rendered, false if notpublic boolean drawSectionDetails()
ISettingsdrawSectionDetails in interface ISettingstrue if additional section detail information should
be rendered, false if notpublic int getSectionDetailWidth()
getSectionDetailWidth in interface ISettingspublic java.lang.String getSectionDetailTitle()
ISettingsgetSectionDetailTitle in interface ISettingspublic java.lang.String getSectionDetailText()
ISettingsgetSectionDetailText in interface ISettingspublic ISectionDetailContentReplacer getSectionDetailContentReplacer()
ISettingsgetSectionDetailContentReplacer in interface ISettingspublic boolean showSectionDetailMore()
showSectionDetailMore in interface ISettingstrue 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()
ISettingsshowHolidayToolTips in interface ISettingstrue to show a "holiday" popup with the configured name of the holiday,
false if not (default)public boolean enableTodayLineUpdater()
ISettings2enableTodayLineUpdater in interface ISettings2true Start Thread
false Skip Threadpublic boolean fireEmptyEventSelection()
ISettingsIGanttEventListener.eventSelected(GanttEvent, java.util.List, org.eclipse.swt.events.MouseEvent) should also
be called on empty selectionfireEmptyEventSelection in interface ISettings