1 11 package org.eclipse.ui.cheatsheets; 12 13 import org.eclipse.swt.widgets.Composite; 14 15 33 public abstract class AbstractItemExtensionElement { 34 35 38 private String attributeName; 39 40 48 public AbstractItemExtensionElement(String attributeName) { 49 if (attributeName == null) { 50 throw new IllegalArgumentException (); 51 } 52 this.attributeName = attributeName; 53 } 54 55 60 public final String getAttributeName() { 61 return this.attributeName; 62 } 63 64 71 public abstract void handleAttribute(String attributeValue); 72 73 88 public abstract void createControl(Composite composite); 89 90 108 public abstract void dispose(); 109 } 110 | Popular Tags |