1 11 package org.eclipse.core.commands; 12 13 import org.eclipse.core.commands.common.AbstractNamedHandleEvent; 14 15 25 public final class CategoryEvent extends AbstractNamedHandleEvent { 26 27 30 private final Category category; 31 32 44 public CategoryEvent(final Category category, final boolean definedChanged, 45 final boolean descriptionChanged, final boolean nameChanged) { 46 super(definedChanged, descriptionChanged, nameChanged); 47 48 if (category == null) { 49 throw new NullPointerException (); 50 } 51 this.category = category; 52 } 53 54 60 public final Category getCategory() { 61 return category; 62 } 63 } 64 | Popular Tags |