aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Fauth2013-07-25 03:31:00 (EDT)
committerDirk Fauth2013-07-25 03:31:00 (EDT)
commit8594ffda4f5e68cd9ed25b6375f88f5d6f75e8db (patch)
treeb32101d70803ebc0dc9017bfc6a97d65640467b8
parent66ac7428b5627a626e0d9fdb335e997291dc4d78 (diff)
downloadorg.eclipse.nebula-8594ffda4f5e68cd9ed25b6375f88f5d6f75e8db.zip
org.eclipse.nebula-8594ffda4f5e68cd9ed25b6375f88f5d6f75e8db.tar.gz
org.eclipse.nebula-8594ffda4f5e68cd9ed25b6375f88f5d6f75e8db.tar.bz2
Bug 413700 - added getter for parent composite
-rw-r--r--widgets/ganttchart/org.eclipse.nebula.widgets.ganttchart/src/org/eclipse/nebula/widgets/ganttchart/GanttSection.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/ganttchart/org.eclipse.nebula.widgets.ganttchart/src/org/eclipse/nebula/widgets/ganttchart/GanttSection.java b/widgets/ganttchart/org.eclipse.nebula.widgets.ganttchart/src/org/eclipse/nebula/widgets/ganttchart/GanttSection.java
index be86b07..e2e8f99 100644
--- a/widgets/ganttchart/org.eclipse.nebula.widgets.ganttchart/src/org/eclipse/nebula/widgets/ganttchart/GanttSection.java
+++ b/widgets/ganttchart/org.eclipse.nebula.widgets.ganttchart/src/org/eclipse/nebula/widgets/ganttchart/GanttSection.java
@@ -343,6 +343,15 @@ public class GanttSection implements IFillBackgroundColors {
}
/**
+ * Returns the parent {@link GanttComposite}
+ *
+ * @return {@link GanttComposite}
+ */
+ public GanttComposite getParentComposite() {
+ return _parent;
+ }
+
+ /**
* Removes this section from the chart. Do note that all belonging GanttEvents will be orphaned, so you should
* probably deal with that post disposal.
*/