1 19 package org.netbeans.api.mdr.events; 20 21 import java.util.List ; 22 import javax.jmi.reflect.RefObject; 23 import javax.jmi.reflect.RefFeatured; 24 25 42 public class InstanceEvent extends MDRChangeEvent { 43 44 public static final int EVENTMASK_INSTANCE = 0x201FFFF; 45 46 47 public static final int EVENT_INSTANCE_CREATE = 0x2010001; 48 49 public static final int EVENT_INSTANCE_DELETE = 0x2010002; 50 51 private final List arguments; 52 protected RefObject instance; 53 54 60 public InstanceEvent(RefFeatured source, int type, List arguments, RefObject instance) { 61 super(source, type); 62 this.arguments = arguments; 63 this.instance = instance; 64 } 65 66 69 public List getArguments() { 70 return arguments; 71 } 72 73 76 public RefObject getInstance() { 77 return instance; 78 } 79 } 80 | Popular Tags |