1 11 package org.eclipse.jface.viewers; 12 13 import org.eclipse.core.runtime.Assert; 14 15 22 public class ColumnPixelData extends ColumnLayoutData { 23 24 27 public int width; 28 29 39 public boolean addTrim = false; 40 41 46 public ColumnPixelData(int widthInPixels) { 47 this(widthInPixels, true, false); 48 } 49 50 57 public ColumnPixelData(int widthInPixels, boolean resizable) { 58 this(widthInPixels, resizable, false); 59 } 60 61 75 public ColumnPixelData(int widthInPixels, boolean resizable, boolean addTrim) { 76 super(resizable); 77 Assert.isTrue(widthInPixels >= 0); 78 this.width = widthInPixels; 79 this.addTrim = addTrim; 80 } 81 } 82 | Popular Tags |