tmf.ui: Make TmfEventsTable#PackColumns return a value
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 29 Mar 2016 17:04:31 +0000 (13:04 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 29 Mar 2016 21:31:28 +0000 (17:31 -0400)
commit19d1060f64efa19f57784a42ff9ccd05c6867bfa
tree5623dd08c1f0a78dceb259570f210fbe6c6e579c
parent8a0bbebf79fafede384d6e164db9667bb92e685f
tmf.ui: Make TmfEventsTable#PackColumns return a value

This allows extending classes to know whether the pack actually happened
or if it was fast returned. The quick return shows that the columns have
already been packed. If the method does pack the columns, we know that it
was done the first time (on a new trace open) or after. This can allow
extending classes to have a hook to a location where the columns have
been initialized as they are not yet in the consutructor or in "init".

Change-Id: Ia4f3ab76e144d937bb5a8eb5e7597c9e99b3114f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/69469
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventsTable.java
This page took 0.026218 seconds and 5 git commands to generate.