Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,11 @@ public Color getColor(IItem item) {

// FIXME: Handle ColorProvider and combined events
Map<String, Integer> columnsOrderMap = new HashMap<>();
columnsOrderMap.put(createColumnId(JfrAttributes.START_TIME), 1);
columnsOrderMap.put(createColumnId(JfrAttributes.DURATION), 2);
columnsOrderMap.put(createColumnId(JfrAttributes.END_TIME), 3);
columnsOrderMap.put(createColumnId(JfrAttributes.EVENT_THREAD), 4);
columnsOrderMap.put(createColumnId(JfrAttributes.EVENT_TYPE), 1);
columnsOrderMap.put(createColumnId(JfrAttributes.START_TIME), 2);
columnsOrderMap.put(createColumnId(JfrAttributes.DURATION), 3);
columnsOrderMap.put(createColumnId(JfrAttributes.END_TIME), 4);
columnsOrderMap.put(createColumnId(JfrAttributes.EVENT_THREAD), 5);
DEFAULT_COLUMNS_ORDER = Collections.unmodifiableMap(columnsOrderMap);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ private void rebuildItemList() {
}

// FIXME: Possibly move to attribute toolkit/handler?
// FIXME: Make sure to get Event Type as the first column
// FIXME: Stream<IType> -> Stream<IAttribute> should be delegated to some context (e.g. the editor)
Stream<IAttribute<?>> commonAttributes = Stream.empty();
if (types.hasNext()) {
Expand Down