Package | Description |
---|---|
org.eclipse.nebula.widgets.ganttchart | |
org.eclipse.nebula.widgets.ganttchart.dnd | |
org.eclipse.nebula.widgets.ganttchart.undoredo.commands |
Modifier and Type | Class | Description |
---|---|---|
class |
GanttCheckpoint |
Convenience class for creating a checkpoint instead of using the constructors on GanttEvent.
|
class |
GanttImage |
Convenience class for creating an image in the chart instead of using the constructors in GanttEvent.
|
class |
GanttScope |
A convenience class for creating a GanttScope instead of using the specific constructors on the GanttEvent.
|
Modifier and Type | Method | Description |
---|---|---|
GanttEvent |
DefaultEventFactory.createGanttEvent(GanttChart parent,
GanttSection gs,
java.lang.String name,
java.util.Calendar start,
java.util.Calendar end) |
|
GanttEvent |
IEventFactory.createGanttEvent(GanttChart parent,
GanttSection gs,
java.lang.String name,
java.util.Calendar start,
java.util.Calendar end) |
Creates a new GanttEvent and adds it to the given GanttChart.
|
GanttEvent |
GanttComposite.getBottomEvent() |
Returns the bottom most visible event in the current view of the chart.
|
GanttEvent |
GanttEvent.getEarliestScopeEvent() |
Returns the event that has the earliest date of all events in a scope.
|
GanttEvent |
GanttEvent.getLatestScopeEvent() |
Returns the event that has the latest date of all events in a scope.
|
GanttEvent |
GanttChart.getRandomEvent() |
Returns a random GanttEvent, useful for testing.
|
GanttEvent |
GanttEvent.getScopeParent() |
Returns the scope parent of this event if it has one.
|
GanttEvent |
GanttConnection.getSource() |
Returns the source event of this connection.
|
GanttEvent |
GanttConnection.getTarget() |
Returns the target event of this connection.
|
GanttEvent |
GanttComposite.getTopEvent() |
Returns the topmost visible event in the current view of the chart.
|
Modifier and Type | Method | Description |
---|---|---|
void |
GanttChart.addConnection(GanttEvent source,
GanttEvent target) |
Adds a dependency between two events.
|
void |
GanttComposite.addConnection(GanttEvent source,
GanttEvent target) |
Same as addDependency().
|
void |
GanttComposite.addConnection(GanttEvent source,
GanttEvent target,
org.eclipse.swt.graphics.Color color) |
Same as addDependency().
|
void |
IEventMenuItemFactory.addCustomMenuItems(org.eclipse.swt.widgets.Menu menu,
GanttEvent ganttEvent) |
Adds new custom menu items to the context menu of a GanttEvent
in the GanttChart.
|
void |
GanttChart.addDependency(GanttEvent source,
GanttEvent target) |
Same as addConnection().
|
void |
GanttComposite.addDependency(GanttEvent source,
GanttEvent target) |
Adds a connection between two GanttEvents.
|
void |
GanttComposite.addDependency(GanttEvent source,
GanttEvent target,
org.eclipse.swt.graphics.Color color) |
Adds a connection between two GanttEvents.
|
void |
GanttComposite.addEvent(GanttEvent event) |
Adds a GanttEvent to the chart.
|
void |
GanttComposite.addEvent(GanttEvent event,
boolean redraw) |
Adds an GanttEvent to the chart and redraws.
|
void |
GanttComposite.addEvent(GanttEvent event,
int index) |
Adds an event at a given index.
|
void |
GanttGroup.addEvent(GanttEvent event) |
Adds a GanttEvent to this group.
|
void |
GanttEvent.addScopeEvent(GanttEvent event) |
Adds an event that this event should cover if it has been set to be a scope.
|
boolean |
GanttGroup.containsEvent(GanttEvent event) |
Checks whether this GanttGroup contains a given GanttEvent.
|
void |
AbstractPaintManager.drawCheckpoint(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent event,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int dayWidth,
int x,
int y,
org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
IPaintManager.drawCheckpoint(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int dayWidth,
int x,
int y,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws one checkpoint.
|
void |
AbstractPaintManager.drawDaysOnChart(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent event,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int x,
int y,
int eventWidth,
int daysNumber,
org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
IPaintManager.drawDaysOnChart(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int x,
int y,
int eventWidth,
int daysNumber,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws the little plaque showing how many number of days an event spans over.
|
void |
AbstractPaintManager.drawEvent(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent event,
org.eclipse.swt.graphics.GC gc,
boolean isSelected,
boolean threeDee,
int dayWidth,
int xStart,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
IPaintManager.drawEvent(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
boolean isSelected,
boolean threeDee,
int dayWidth,
int x,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws one normal event.
|
void |
AbstractPaintManager.drawEventString(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent event,
org.eclipse.swt.graphics.GC gc,
java.lang.String toDraw,
boolean threeDee,
int x,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
IPaintManager.drawEventString(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
java.lang.String toDraw,
boolean threeDee,
int x,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws a string shown next to an event.
|
void |
AbstractPaintManager.drawImage(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent event,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Image image,
boolean threeDee,
int dayWidth,
int xLoc,
int yStart,
org.eclipse.swt.graphics.Rectangle fullBounds) |
|
void |
IPaintManager.drawImage(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Image image,
boolean threeDee,
int dayWidth,
int x,
int y,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws one checkpoint.
|
void |
AbstractPaintManager.drawLockedDateRangeMarker(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int dayWidth,
int y,
int startLoc,
int end,
org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
IPaintManager.drawLockedDateRangeMarker(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int dayWidth,
int y,
int xStart,
int xEnd,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws the marker that shows what dates an event are locked down to
|
void |
AbstractPaintManager.drawPlannedDates(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent event,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int x,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
IPaintManager.drawPlannedDates(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int x,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws the planned dates.
|
void |
AbstractPaintManager.drawScope(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent event,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int dayWidth,
int x,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
|
void |
IPaintManager.drawScope(GanttComposite ganttComposite,
ISettings settings,
IColorManager colorManager,
GanttEvent ge,
org.eclipse.swt.graphics.GC gc,
boolean threeDee,
int dayWidth,
int x,
int y,
int eventWidth,
org.eclipse.swt.graphics.Rectangle bounds) |
Draws one scope.
|
void |
GanttEventListenerAdapter.eventDoubleClicked(GanttEvent event,
org.eclipse.swt.events.MouseEvent me) |
|
void |
IGanttEventListener.eventDoubleClicked(GanttEvent event,
org.eclipse.swt.events.MouseEvent mouseEvent) |
Fires when an event is doubleclicked.
|
void |
GanttEventListenerAdapter.eventMovedToNewSection(GanttEvent ge,
GanttSection oldSection,
GanttSection newSection) |
|
void |
IGanttEventListener.eventMovedToNewSection(GanttEvent event,
GanttSection oldSection,
GanttSection newSection) |
This is called when an event is moved (vertical DND) from one section to another.
|
void |
GanttEventListenerAdapter.eventReordered(GanttEvent ge) |
|
void |
IGanttEventListener.eventReordered(GanttEvent event) |
This is called when an event was reordered vertically in the chart (via DND).
|
void |
GanttEventListenerAdapter.eventSelected(GanttEvent event,
java.util.List allSelectedEvents,
org.eclipse.swt.events.MouseEvent me) |
|
void |
IGanttEventListener.eventSelected(GanttEvent event,
java.util.List allSelectedEvents,
org.eclipse.swt.events.MouseEvent mouseEvent) |
Fires when an event is selected.
|
boolean |
GanttComposite.hasEvent(GanttEvent event) |
Checks whether the chart has a given event.
|
boolean |
GanttComposite.isConnected(GanttEvent ge) |
Returns true if the given event is connected to another.
|
boolean |
GanttComposite.isConnected(GanttEvent source,
GanttEvent target) |
Checks whether two events are connected to each other.
|
boolean |
GanttComposite.isEventVisible(GanttEvent event,
org.eclipse.swt.graphics.Rectangle bounds) |
Checks whether a certain event is visible in the current bounds.
|
void |
GanttComposite.jumpToEvent(GanttEvent event,
boolean start,
int side) |
Moves the calendar to a particular event date horizontally.
|
void |
GanttChart.reindex(GanttEvent event,
int newIndex) |
Re-indexes an event to show at a new location.
|
void |
GanttComposite.reindex(GanttEvent event,
int newIndex) |
Re-indexes an event to a new index.
|
boolean |
GanttComposite.removeEvent(GanttEvent event) |
Removes a GanttEvent from the chart.
|
void |
GanttGroup.removeEvent(GanttEvent event) |
Removes a GanttEvent from this group.
|
void |
GanttEvent.removeScopeEvent(GanttEvent event) |
Removes event that this event encompasses as a scope.
|
java.lang.String |
IToolTipContentReplacer.replaceToolTipPlaceHolder(GanttEvent event,
java.lang.String toolTipPattern,
java.lang.String dateFormat) |
|
void |
GanttComposite.setSelection(GanttEvent event) |
Sets the selection to be a specific GanttEvent.
|
void |
GanttConnection.setSource(GanttEvent source) |
Sets the source event of this connection.
|
void |
GanttConnection.setTarget(GanttEvent target) |
Sets the target event of this connection.
|
void |
GanttComposite.setTopItem(GanttEvent ge,
int side) |
Sets the top visible item in the chart and scrolls to show it.
|
void |
GanttComposite.setTopItem(GanttEvent ge,
int yOffset,
int side) |
Sets the top visible item in the chart and scrolls to show it.
|
void |
GanttComposite.showEvent(GanttEvent ge,
int side) |
Scrolls the chart to the selected item regardless if it is visible or not.
|
Constructor | Description |
---|---|
GanttConnection(GanttChart parent,
GanttEvent source,
GanttEvent target) |
Creates a new connection between two events.
|
GanttConnection(GanttChart parent,
GanttEvent source,
GanttEvent target,
org.eclipse.swt.graphics.Color lineColor) |
Creates a new connection between two events and gives the connecting line a specific color.
|
Modifier and Type | Method | Description |
---|---|---|
GanttEvent |
VerticalDragDropManager.getBottomEvent() |
|
GanttEvent |
VerticalDragDropManager.getTopEvent() |
Modifier and Type | Method | Description |
---|---|---|
void |
VerticalDragDropManager.setBottomEvent(GanttEvent bottomEvent) |
|
void |
VerticalDragDropManager.setTopEvent(GanttEvent topEvent) |
Modifier and Type | Method | Description |
---|---|---|
GanttEvent |
EventDeleteCommand.getEvent() |
|
GanttEvent |
EventMoveCommand.getEvent() |
Modifier and Type | Method | Description |
---|---|---|
void |
EventDeleteCommand.setEvent(GanttEvent event) |
|
void |
EventMoveCommand.setEvent(GanttEvent event) |
Constructor | Description |
---|---|
EventDeleteCommand(GanttEvent event,
GanttSection section,
int index) |
Creates a new undoable/redoable delete Event.
|
EventMoveCommand(GanttEvent event,
java.util.Calendar startDateBefore,
java.util.Calendar startDateAfter,
java.util.Calendar endDateBefore,
java.util.Calendar endDateAfter,
java.util.Calendar revisedStartDateBefore,
java.util.Calendar revisedStartDateAfter,
java.util.Calendar revisedEndDateBefore,
java.util.Calendar revisedEndDateAfter,
GanttSection sectionBefore,
GanttSection sectionAfter,
int indexBefore,
int indexAfter) |
Creates a new undoable/redoable Move Event.
|
EventResizeCommand(GanttEvent event,
java.util.Calendar startDateBefore,
java.util.Calendar startDateAfter,
java.util.Calendar endDateBefore,
java.util.Calendar endDateAfter,
java.util.Calendar revisedStartDateBefore,
java.util.Calendar revisedStartDateAfter,
java.util.Calendar revisedEndDateBefore,
java.util.Calendar revisedEndDateAfter) |
Creates a new undoable/redoable Resize Event.
|