/**
* Magic number
*
- * @since 2.0
+ * @since 1.1
*/
String MAGIC = "magic";
/**
* Header
*
- * @since 2.0
+ * @since 1.1
*/
String HEADER = "header";
/**
* Context
*
- * @since 2.0
+ * @since 1.1
*/
String CONTEXT = "context";
/**
* Packet
*
- * @since 2.0
+ * @since 1.1
*/
String PACKET = "packet";
/**
* Timestamp
*
- * @since 2.0
+ * @since 1.1
*/
String TIMESTAMP = "timestamp";
}
* Get the event header
*
* @return the event header
- * @since 2.0
+ * @since 1.1
*/
public ICompositeDefinition getEventHeader() {
return fEventHeaderDefinition;
*
* @author Matthew Khouzam
* @author Simon Marchi
- * @since 2.0
+ * @since 1.1
*
*/
public class DeclarationScope {
/**
* A pair of longs class
*
- * @since 2.0
+ * @since 1.1
*/
public static class Pair {
private final long fFirst;
* Get the lookup table
*
* @return the lookup table
- * @since 2.0
+ * @since 1.1
*/
public Map<String, Pair> getEnumTable() {
ImmutableMap.Builder<String, Pair> builder = new ImmutableMap.Builder<>();
* @return the fields definition
* @throws CTFException
* something went wrong
- * @since 2.0
+ * @since 1.1
*/
public StructDefinition createFieldDefinition(ICompositeDefinition eventHeaderDef, IDefinitionScope definitionScope, ILexicalScope fields, @NonNull BitBuffer input) throws CTFException {
alignRead(input);
* @param defintionToExclude
* the definition to exclude, can be null
* @return the definition or null
- * @since 2.0
+ * @since 1.1
*/
public Definition lookupDefinition(String lookupPath, ScopedDefinition defintionToExclude) {
/*
*
* @return the current declaration scope
*
- * @since 2.0
+ * @since 1.1
*/
public DeclarationScope getScope() {
return fScope;
* Returns whether or not this CTFTraceReader has been closed
*
* @return true if it has been closed, false else
- * @since 2.0
+ * @since 1.1
*/
public boolean isClosed() {
return fClosed;
*
* @param context the current trace context
* @param event the corresponding event
- * @since 2.0
+ * @since 1.1
*/
protected synchronized void updateAttributes(final ITmfContext context, final @NonNull ITmfEvent event) {
ITmfTimestamp timestamp = event.getTimestamp();
/**
* The width of a table item
*
- * @since 2.0
+ * @since 1.1
*/
String WIDTH = "$width"; //$NON-NLS-1$
}
* {@link #createColumn(String, ColumnLabelProvider, Comparator)} method, and
* set the content provider and input on the supplied {@link TableViewer}.
*
- * @since 2.0
+ * @since 1.1
*/
public class TmfSimpleTableViewer extends TmfViewer {
* order before creating the time event lists as this is optimal for state
* system queries.
*
- * @since 2.0
+ * @since 1.1
*/
public abstract class AbstractStateSystemTimeGraphView extends AbstractTimeGraphView {
/**
* Zoom thread
- * @since 2.0
+ * @since 1.1
*/
protected abstract class ZoomThread extends Thread {
private final long fZoomStartTime;
* @param restart
* true if restarting zoom for the same time range
* @return a zoom thread
- * @since 2.0
+ * @since 1.1
*/
protected @Nullable ZoomThread createZoomThread(long startTime, long endTime, long resolution, boolean restart) {
final List<TimeGraphEntry> entryList = fEntryList;
/**
* Initialize the colors.
- * @since 2.0
+ * @since 1.1
*/
protected void initializeColors() {
ColorRegistry colorRegistry = PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry();
// ------------------------------------------------------------------------
/**
- * @since 2.0
+ * @since 1.1
*/
@Override
public void mouseDown(MouseEvent e) {
}
/**
- * @since 2.0
+ * @since 1.1
*/
@Override
public void mouseUp(MouseEvent e) {
}
/**
- * @since 2.0
+ * @since 1.1
*/
@Override
public void mouseDoubleClick(MouseEvent e) {
* @param entry
* The entry
* @return true if the entry is expanded, false if collapsed
- * @since 2.0
+ * @since 1.1
*/
public boolean getExpandedState(ITimeGraphEntry entry) {
return fTimeGraphCtrl.getExpandedState(entry);
*
* @param event
* The time event to add
- * @since 2.0
+ * @since 1.1
*/
public void addZoomedEvent(ITimeEvent event) {
long start = event.getTime();
*
* @return The unmodifiable link event list
*
- * @since 2.0
+ * @since 1.1
*/
public List<ILinkEvent> getArrows() {
return Collections.unmodifiableList(fItemData.fLinks);
* @param entry
* The entry
* @return true if the entry is expanded, false if collapsed
- * @since 2.0
+ * @since 1.1
*/
public boolean getExpandedState(ITimeGraphEntry entry) {
Item item = fItemData.fItemMap.get(entry);
*
* @param blend
* true if sub-pixel events should be blended, false otherwise.
- * @since 2.0
+ * @since 1.1
*/
public void setBlendSubPixelEvents(boolean blend) {
fBlendSubPixelEvents = blend;