1 11 package org.eclipse.ui.internal; 12 13 import org.eclipse.swt.widgets.Composite; 14 import org.eclipse.swt.widgets.Control; 15 16 19 public class PartPlaceholder extends LayoutPart { 20 21 26 public static String WILD_CARD = "*"; 28 public PartPlaceholder(String id) { 29 super(id); 30 } 31 32 35 public void createControl(Composite parent) { 36 } 38 39 42 public Control getControl() { 43 return null; 44 } 45 46 51 public boolean hasWildCard() { 52 return getID().indexOf(WILD_CARD) != -1; 53 } 54 } 55 | Popular Tags |