1 17 18 package org.objectweb.jac.aspects.gui; 19 20 import org.objectweb.jac.core.rtti.CollectionItem; 21 22 25 public class CollectionEvent extends SubstanceEvent { 26 public CollectionEvent(View source, 27 Object substance, CollectionItem collection) { 28 super(source,substance); 29 this.collection = collection; 30 } 31 32 CollectionItem collection; 33 public CollectionItem getCollection() { 34 return collection; 35 } 36 public void setCollection(CollectionItem newCollection) { 37 this.collection = newCollection; 38 } 39 40 public String toString() { 41 return "CollectionEvent{"+substance+"."+collection.getName()+"}"; 42 } 43 } 44 | Popular Tags |