1 11 package org.eclipse.ui.internal.menus; 12 13 48 public final class SLayout { 49 50 53 private final boolean fillMajor; 54 55 58 private final boolean fillMinor; 59 60 64 public SLayout() { 65 this(false, false); 66 } 67 68 79 public SLayout(final boolean fillMajor, final boolean fillMinor) { 80 this.fillMajor = fillMajor; 81 this.fillMinor = fillMinor; 82 } 83 84 90 public boolean fillMajor() { 91 return fillMajor; 92 } 93 94 100 public boolean fillMinor() { 101 return fillMinor; 102 } 103 104 public final String toString() { 105 final StringBuffer buffer = new StringBuffer (); 106 buffer.append("SLayout("); buffer.append(fillMajor); 108 buffer.append(','); 109 buffer.append(fillMinor); 110 buffer.append(')'); 111 return buffer.toString(); 112 } 113 } 114 | Popular Tags |