1 11 12 package org.eclipse.ui.views.markers.internal; 13 14 15 21 public class MarkerGroupingEntry { 22 23 private FieldMarkerGroup markerGroup; 24 private String label; 25 private String id; 26 private int sortPriority; 27 28 29 36 public MarkerGroupingEntry(String name, String identifer, int priority) { 37 label = name; 38 id = identifer; 39 sortPriority = priority; 40 } 41 42 46 public void setAsDefault(String markerType) { 47 markerGroup.setAsDefault(markerType,this); 48 49 } 50 51 58 public void mapAttribute(String markerType, String attribute, String attributeValue) { 59 markerGroup.mapAttribute(markerType,attribute,attributeValue,this); 60 61 } 62 63 67 public String getId() { 68 return id; 69 } 70 71 75 public void setGroupingEntry(FieldMarkerGroup group) { 76 markerGroup = group; 77 78 } 79 80 84 public String getLabel() { 85 return label; 86 } 87 88 92 public int getPriority() { 93 return sortPriority; 94 } 95 96 100 public FieldMarkerGroup getMarkerGroup() { 101 return markerGroup; 102 } 103 104 } 105 | Popular Tags |