use of org.eclipse.tracecompass.tmf.core.signal.TmfTraceSelectedSignal in project tracecompass by tracecompass.
the class TmfSynchronizationView method createPartControl.
@Override
public void createPartControl(Composite parent) {
fTree = new Tree(parent, SWT.NONE);
TreeColumn nameCol = new TreeColumn(fTree, SWT.NONE, 0);
TreeColumn valueCol = new TreeColumn(fTree, SWT.NONE, 1);
nameCol.setText(Messages.TmfSynchronizationView_NameColumn);
valueCol.setText(Messages.TmfSynchronizationView_ValueColumn);
fTree.setItemCount(0);
fTree.setHeaderVisible(true);
nameCol.pack();
valueCol.pack();
ITmfTrace trace = TmfTraceManager.getInstance().getActiveTrace();
if (trace != null) {
traceSelected(new TmfTraceSelectedSignal(this, trace));
}
}
Aggregations