1 56 package org.objectstyle.cayenne.modeler.event; 57 58 import org.objectstyle.cayenne.access.DataDomain; 59 import org.objectstyle.cayenne.map.DataMap; 60 import org.objectstyle.cayenne.map.Procedure; 61 62 67 public class ProcedureDisplayEvent extends DataMapDisplayEvent { 68 protected Procedure procedure; 69 protected boolean procedureChanged = true; 70 protected boolean tabReset; 71 72 75 public ProcedureDisplayEvent(Object src, Procedure procedure, DataMap map, DataDomain domain) { 76 super(src, map, domain); 77 this.procedure = procedure; 78 } 79 80 81 public Procedure getProcedure() { 82 return procedure; 83 } 84 85 public void setProcedure(Procedure procedure) { 86 this.procedure = procedure; 87 } 88 89 public boolean isProcedureChanged() { 90 return procedureChanged; 91 } 92 93 public void setProcedureChanged(boolean b) { 94 procedureChanged = b; 95 } 96 97 public boolean isTabReset() { 98 return tabReset; 99 } 100 101 public void setTabReset(boolean b) { 102 tabReset = b; 103 } 104 } 105 | Popular Tags |