/** * Default constructor which creates a column enumeration object. * * @param name The name of the column. * @param width The width of the column. * @param imageName The name of the image. Names are defined in {@link InspectITImages}. * @param dataComparator Comparator for the column. */ private Column( String name, int width, String imageName, IDataComparator<? super HttpTimerData> dataComparator) { this.name = name; this.width = width; this.image = InspectIT.getDefault().getImage(imageName); this.dataComparator = dataComparator; }
/** * Creates new folder with given name. * * @param levelName Name. * @return {@link Composite}. */ private static Composite createFolder(String levelName) { Composite composite = new Composite(); composite.setName(levelName); composite.setImage(InspectIT.getDefault().getImage(InspectITImages.IMG_FOLDER)); return composite; }