001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package org.netbeans.modules.uml.core.metamodel.infrastructure.coreinfrastructure;
043:
044: import org.netbeans.modules.uml.core.eventframework.IEventDispatcher;
045: import org.netbeans.modules.uml.core.eventframework.IEventPayload;
046: import org.netbeans.modules.uml.core.metamodel.core.constructs.IEnumerationLiteral;
047: import org.netbeans.modules.uml.core.metamodel.core.foundation.IConstraint;
048: import org.netbeans.modules.uml.core.metamodel.core.foundation.IExpression;
049: import org.netbeans.modules.uml.core.metamodel.core.foundation.IMultiplicity;
050: import org.netbeans.modules.uml.core.metamodel.core.foundation.IMultiplicityRange;
051: import org.netbeans.modules.uml.core.metamodel.core.foundation.IVersionableElement;
052:
053: import org.netbeans.modules.uml.core.support.umlutils.ETList;
054:
055: public interface IClassifierEventDispatcher extends IEventDispatcher {
056: /**
057: * Registers an event sink to handle classifier feature events.
058: */
059: public void registerForClassifierFeatureEvents(
060: IClassifierFeatureEventsSink handler);
061:
062: /**
063: * Removes a sink listening for classifier feature events.
064: */
065: public void revokeClassifierFeatureSink(
066: IClassifierFeatureEventsSink handler);
067:
068: /**
069: * Registers an event sink to handle feature events.
070: */
071: public void registerForFeatureEvents(IFeatureEventsSink handler);
072:
073: /**
074: * Removes a sink listening for feature events.
075: */
076: public void revokeFeatureSink(IFeatureEventsSink handler);
077:
078: /**
079: * Registers an event sink to handle structural feature events.
080: */
081: public void registerForStructuralFeatureEvents(
082: IStructuralFeatureEventsSink handler);
083:
084: /**
085: * Removes a sink listening for structural feature events.
086: */
087: public void revokeStructuralFeatureSink(
088: IStructuralFeatureEventsSink handler);
089:
090: /**
091: * Registers an event sink to handle behavioral feature events.
092: */
093: public void registerForBehavioralFeatureEvents(
094: IBehavioralFeatureEventsSink handler);
095:
096: /**
097: * Removes a sink listening for behavioral feature events.
098: */
099: public void revokeBehavioralFeatureSink(
100: IBehavioralFeatureEventsSink handler);
101:
102: /**
103: * Registers an event sink to handle parameter events.
104: */
105: public void registerForParameterEvents(IParameterEventsSink handler);
106:
107: /**
108: * Removes a sink listening for parameter events.
109: */
110: public void revokeParameterSink(IParameterEventsSink handler);
111:
112: /**
113: * Registers an event sink to handle typed element events.
114: */
115: public void registerForTypedElementEvents(
116: ITypedElementEventsSink handler);
117:
118: /**
119: * Removes a sink listening for typed element events.
120: */
121: public void revokeTypedElementSink(ITypedElementEventsSink handler);
122:
123: /**
124: * Registers an event sink to handle attribute events.
125: */
126: public void registerForAttributeEvents(IAttributeEventsSink handler);
127:
128: /**
129: * Removes a sink listening for attribute events.
130: */
131: public void revokeAttributeSink(IAttributeEventsSink handler);
132:
133: /**
134: * Registers an event sink to handle operation events.
135: */
136: public void registerForOperationEvents(IOperationEventsSink handler);
137:
138: /**
139: * Removes a sink listening for operation events.
140: */
141: public void revokeOperationSink(IOperationEventsSink handler);
142:
143: /**
144: * Registers an event sink to handle transform events.
145: */
146: public void registerForTransformEvents(
147: IClassifierTransformEventsSink handler);
148:
149: /**
150: * Removes a sink listening for transform events.
151: */
152: public void revokeTransformSink(
153: IClassifierTransformEventsSink handler);
154:
155: /**
156: * Registers an event sink to handle transform events.
157: */
158: public void registerForAssociationEndTransformEvents(
159: IAssociationEndTransformEventsSink handler);
160:
161: /**
162: * Removes a sink listening for transform events.
163: */
164: public void revokeAssociationEndTransformSink(
165: IAssociationEndTransformEventsSink handler);
166:
167: /**
168: * Registers an event sink to handle transform events.
169: */
170: public void registerForAffectedElementEvents(
171: IAffectedElementEventsSink handler);
172:
173: /**
174: * Removes a sink listening for transform events.
175: */
176: public void revokeAffectedElementEvents(
177: IAffectedElementEventsSink handler);
178:
179: /**
180: * Registers an event sink to handle AssociationEnd events.
181: */
182: public void registerForAssociationEndEvents(
183: IAssociationEndEventsSink handler);
184:
185: /**
186: * Removes a sink listening for AssociationEnd events.
187: */
188: public void revokeAssociationEndSink(
189: IAssociationEndEventsSink handler);
190:
191: /**
192: * Called whenever a feature is about to be added to a classifier.
193: */
194: public boolean fireFeaturePreAdded(IClassifier classifier,
195: IFeature feature, IEventPayload payload);
196:
197: /**
198: * Called whenever a feature was added to a classifier.
199: */
200: public void fireFeatureAdded(IClassifier classifier,
201: IFeature feature, IEventPayload payload);
202:
203: /**
204: * Called whenever a feature is about to be added to a classifier.
205: */
206: public boolean fireEnumerationLiteralPreAdded(
207: IClassifier classifier, IEnumerationLiteral enumLit,
208: IEventPayload payload);
209:
210: /**
211: * Called whenever a feature was added to a classifier.
212: */
213: public void fireEnumerationLiteralAdded(IClassifier classifier,
214: IEnumerationLiteral enumLit, IEventPayload payload);
215:
216: /**
217: * Fired whenever feature is about to be removed from a classifier.
218: */
219: public boolean fireFeaturePreRemoved(IClassifier classifier,
220: IFeature feature, IEventPayload payload);
221:
222: /**
223: * Fired whenever feature was just removed from a classifier.
224: */
225: public void fireFeatureRemoved(IClassifier classifier,
226: IFeature feature, IEventPayload payload);
227:
228: /**
229: * Fired whenever a feature is about to be moved from a classifier to another classifier.
230: */
231: public boolean fireFeaturePreMoved(IClassifier classifier,
232: IFeature feature, IEventPayload payload);
233:
234: /**
235: * Fired whenever feature was just moved from a classifier to another Classifier.
236: */
237: public void fireFeatureMoved(IClassifier classifier,
238: IFeature feature, IEventPayload payload);
239:
240: /**
241: * Fired whenever a feature is about to be duplicated then added from one classifier to another classifier.
242: */
243: public boolean fireFeaturePreDuplicatedToClassifier(
244: IClassifier classifier, IFeature feature,
245: IEventPayload payload);
246:
247: /**
248: * Fired whenever feature was just duplicated and added from one classifier to another Classifier.
249: */
250: public boolean fireFeatureDuplicatedToClassifier(
251: IClassifier pOldClassifier, IFeature pOldFeature,
252: IClassifier pNewClassifier, IFeature pNewFeature,
253: IEventPayload payload);
254:
255: /**
256: * Called whenever the abstract flag on the Classifier is about to be modified.
257: */
258: public boolean fireClassifierPreAbstractModified(
259: IClassifier feature, boolean proposedValue,
260: IEventPayload payload);
261:
262: /**
263: * Called whenever the abstract flag on the Classifier has been modified.
264: */
265: public void fireClassifierAbstractModified(IClassifier feature,
266: IEventPayload payload);
267:
268: /**
269: * Called whenever the leaf flag on the Classifier is about to be modified.
270: */
271: public boolean firePreLeafModified(IClassifier feature,
272: boolean proposedValue, IEventPayload payload);
273:
274: /**
275: * Called whenever the leaf flag on the Classifier has been modified.
276: */
277: public void fireLeafModified(IClassifier feature,
278: IEventPayload payload);
279:
280: /**
281: * Called whenever the transient flag on the Classifier is about to be modified.
282: */
283: public boolean fireClassifierPreTransientModified(
284: IClassifier feature, boolean proposedValue,
285: IEventPayload payload);
286:
287: /**
288: * Called whenever the transient flag on the Classifier has been modified.
289: */
290: public void fireClassifierTransientModified(IClassifier feature,
291: IEventPayload payload);
292:
293: /**
294: * Fired whenever a new template parameter ( ParameterableElemnet ) is about to be added to the Classifier.
295: */
296: public boolean firePreTemplateParameterAdded(
297: IClassifier pClassifier, IParameterableElement pParam,
298: IEventPayload payload);
299:
300: /**
301: * Fired whenever a new template parameter ( ParameterableElemnet ) is added to the Classifier.
302: */
303: public void fireTemplateParameterAdded(IClassifier pClassifier,
304: IParameterableElement pParam, IEventPayload payload);
305:
306: /**
307: * Fired whenever a new template parameter ( ParameterableElemnet ) is about to be added to the Classifier.
308: */
309: public boolean firePreTemplateParameterRemoved(
310: IClassifier pClassifier, IParameterableElement pParam,
311: IEventPayload payload);
312:
313: /**
314: * Fired whenever a new template parameter ( ParameterableElemnet ) is added to the Classifier.
315: */
316: public void fireTemplateParameterRemoved(IClassifier pClassifier,
317: IParameterableElement pParam, IEventPayload payload);
318:
319: /**
320: * Called whenever a classifier is about to be transformed.
321: */
322: public boolean firePreTransform(IClassifier classifier,
323: String newForm, IEventPayload payload);
324:
325: /**
326: * Called whenever a classifier is transformed.
327: */
328: public void fireTransformed(IClassifier classifier,
329: IEventPayload payload);
330:
331: /**
332: * Called whenever an association end is about to be transformed.
333: */
334: public boolean firePreAssociationEndTransform(IAssociationEnd pEnd,
335: String newForm, IEventPayload payload);
336:
337: /**
338: * Called whenever an association end is transformed.
339: */
340: public void fireAssociationEndTransformed(IAssociationEnd pEnd,
341: IEventPayload payload);
342:
343: /**
344: * Fired whenever the static flag on a particular feature is about to be modified.
345: */
346: public boolean firePreStaticModified(IFeature feature,
347: boolean proposedValue, IEventPayload payload);
348:
349: /**
350: * Fired whenever the static flag on a particular feature was just modified.
351: */
352: public void fireStaticModified(IFeature feature,
353: IEventPayload payload);
354:
355: /**
356: * Fired whenever the native flag on a particular feature is about to be modified.
357: */
358: public boolean firePreNativeModified(IFeature feature,
359: boolean proposedValue, IEventPayload payload);
360:
361: /**
362: * Fired whenever the native flag on a particular feature was just modified.
363: */
364: public void fireNativeModified(IFeature feature,
365: IEventPayload payload);
366:
367: /**
368: * Fired whenever the ClientChangeablity flag on a particular feature is about to be modified.
369: */
370: public boolean firePreChangeabilityModified(
371: IStructuralFeature feature, /* ChangeableKind */
372: int proposedValue, IEventPayload payload);
373:
374: /**
375: * Fired whenever the ClientChangeablity flag on a particular feature was just modified.
376: */
377: public void fireChangeabilityModified(IStructuralFeature feature,
378: IEventPayload payload);
379:
380: /**
381: * Fired whenever the volatile flag on a particular feature is about to be modified.
382: */
383: public boolean firePreVolatileModified(IStructuralFeature feature,
384: boolean proposedValue, IEventPayload payload);
385:
386: /**
387: * Fired whenever the volatile flag on a particular feature has been modified.
388: */
389: public void fireVolatileModified(IStructuralFeature feature,
390: IEventPayload payload);
391:
392: /**
393: * Fired whenever the transient flag on a particular feature is about to be modified.
394: */
395: public boolean firePreTransientModified(IStructuralFeature feature,
396: boolean proposedValue, IEventPayload payload);
397:
398: /**
399: * Fired whenever the transient flag on a particular feature has been modified.
400: */
401: public void fireTransientModified(IStructuralFeature feature,
402: IEventPayload payload);
403:
404: /**
405: * Fired whenever the concurrency value of a behavioral feature is about to be modified.
406: */
407: public boolean fireConcurrencyPreModified(
408: IBehavioralFeature feature, /* CallConcurrencyKind */
409: int proposedValue, IEventPayload payload);
410:
411: /**
412: * Fired whenever the concurrency value of a behavioral feature was modified.
413: */
414: public void fireConcurrencyModified(IBehavioralFeature feature,
415: IEventPayload payload);
416:
417: /**
418: * Fired whenever a signal is about to be added to the behavioral feature, indicating that the feature can 'catch' the specified signal.
419: */
420: public boolean firePreHandledSignalAdded(
421: IBehavioralFeature feature, ISignal proposedValue,
422: IEventPayload payload);
423:
424: /**
425: * Fired whenever a signal is added to the behavioral feature, indicating that the feature can 'catch' the specified signal.
426: */
427: public void fireHandledSignalAdded(IBehavioralFeature feature,
428: IEventPayload payload);
429:
430: /**
431: * Fired whenever a signal is about to be removed from the behavioral feature, indicating that the feature can no longer 'catch' the specified signal.
432: */
433: public boolean firePreHandledSignalRemoved(
434: IBehavioralFeature feature, ISignal proposedValue,
435: IEventPayload payload);
436:
437: /**
438: * Fired whenever a signal was removed from the behavioral feature, indicating that the feature can no longer 'catch' the specified signal.
439: */
440: public void fireHandledSignalRemoved(IBehavioralFeature feature,
441: IEventPayload payload);
442:
443: /**
444: * Fired whenever a new parameter is about to be added to the behavioral feature's list of parameters.
445: */
446: public boolean firePreParameterAdded(IBehavioralFeature feature,
447: IParameter parm, IEventPayload payload);
448:
449: /**
450: * Fired whenever a new parameter was added to the behavioral feature's list of parameters.
451: */
452: public void fireParameterAdded(IBehavioralFeature feature,
453: IParameter parm, IEventPayload payload);
454:
455: /**
456: * Fired whenever an existing parameter is about to be removed from the behavioral feature's list of parameters.
457: */
458: public boolean firePreParameterRemoved(IBehavioralFeature feature,
459: IParameter parm, IEventPayload payload);
460:
461: /**
462: * Fired whenever an existing parameter was just removed from the behavioral feature's list of parameters.
463: */
464: public void fireParameterRemoved(IBehavioralFeature feature,
465: IParameter parm, IEventPayload payload);
466:
467: /**
468: * Fired whenever the abstract flag on the behavioral feature is about to be modified.
469: */
470: public boolean firePreAbstractModified(IBehavioralFeature feature,
471: boolean proposedValue, IEventPayload payload);
472:
473: /**
474: * Fired whenever the abstract flag on the behavioral feature has been modified.
475: */
476: public void fireAbstractModified(IBehavioralFeature feature,
477: IEventPayload payload);
478:
479: /**
480: * Fired whenever the strictfp flag on the behavioral feature is about to be modified.
481: */
482: public boolean firePreStrictFPModified(IBehavioralFeature feature,
483: boolean proposedValue, IEventPayload payload);
484:
485: /**
486: * Fired whenever the strictfp flag on the behavioral feature has been modified.
487: */
488: public void fireStrictFPModified(IBehavioralFeature feature,
489: IEventPayload payload);
490:
491: /**
492: * Fired whenever the default expression for the parameter is about to change.
493: */
494: public boolean firePreDefaultExpModified(IParameter feature,
495: IExpression proposedValue, IEventPayload payload);
496:
497: /**
498: * Fired whenever the default expression for the parameter has changed.
499: */
500: public void fireDefaultExpModified(IParameter feature,
501: IEventPayload payload);
502:
503: /**
504: * Fired whenever the default expression's body property for the parameter is about to change.
505: */
506: public boolean firePreDefaultExpBodyModified(IParameter feature,
507: String bodyValue, IEventPayload payload);
508:
509: /**
510: * Fired whenever the default expression's body property for the parameter has changed.
511: */
512: public void fireDefaultExpBodyModified(IParameter feature,
513: IEventPayload payload);
514:
515: /**
516: * Fired whenever the default expression's language property for the parameter is about to change.
517: */
518: public boolean firePreDefaultExpLanguageModified(
519: IParameter feature, String language, IEventPayload payload);
520:
521: /**
522: * Fired whenever the default expression's language property for the parameter has changed.
523: */
524: public void fireDefaultExpLanguageModified(IParameter feature,
525: IEventPayload payload);
526:
527: /**
528: * Fired whenever the direction value of the parameter is about to change.
529: */
530: public boolean firePreDirectionModified(IParameter feature, /* ParameterDirectionKind */
531: int proposedValue, IEventPayload payload);
532:
533: /**
534: * Fired whenever the direction value of the parameter has changed.
535: */
536: public void fireDirectionModified(IParameter feature,
537: IEventPayload payload);
538:
539: /**
540: * Fired whenever the Multiplicity object on a particular element is about to be modified.
541: */
542: public boolean firePreMultiplicityModified(ITypedElement element,
543: IMultiplicity proposedValue, IEventPayload payload);
544:
545: /**
546: * Fired whenever the Multiplicity object on a particular element was just modified.
547: */
548: public void fireMultiplicityModified(ITypedElement element,
549: IEventPayload payload);
550:
551: /**
552: * Fired whenever the type on a particular element is about to be modified.
553: */
554: public boolean firePreTypeModified(ITypedElement element,
555: IClassifier proposedValue, IEventPayload payload);
556:
557: /**
558: * Fired whenever the type flag on a particular element was just modified.
559: */
560: public void fireTypeModified(ITypedElement element,
561: IEventPayload payload);
562:
563: /**
564: * Fired when the lower property on the passed in range is about to be modified.
565: */
566: public boolean firePreLowerModified(ITypedElement element,
567: IMultiplicity mult, IMultiplicityRange range,
568: String proposedValue, IEventPayload payload);
569:
570: /**
571: * Fired when the lower property on the passed in range was modified.
572: */
573: public void fireLowerModified(ITypedElement element,
574: IMultiplicity mult, IMultiplicityRange range,
575: IEventPayload payload);
576:
577: /**
578: * Fired when the upper property on the passed in range is about to be modified.
579: */
580: public boolean firePreUpperModified(ITypedElement element,
581: IMultiplicity mult, IMultiplicityRange range,
582: String proposedValue, IEventPayload payload);
583:
584: /**
585: * Fired when the upper property on the passed in range was modified.
586: */
587: public void fireUpperModified(ITypedElement element,
588: IMultiplicity mult, IMultiplicityRange range,
589: IEventPayload payload);
590:
591: /**
592: * Fired when a new range is about to be added to the passed in multiplicity.
593: */
594: public boolean firePreRangeAdded(ITypedElement element,
595: IMultiplicity mult, IMultiplicityRange range,
596: IEventPayload payload);
597:
598: /**
599: * Fired when a new range is added to the passed in multiplicity.
600: */
601: public void fireRangeAdded(ITypedElement element,
602: IMultiplicity mult, IMultiplicityRange range,
603: IEventPayload payload);
604:
605: /**
606: * Fired when an existing range is about to be removed from the passed in multiplicity.
607: */
608: public boolean firePreRangeRemoved(ITypedElement element,
609: IMultiplicity mult, IMultiplicityRange range,
610: IEventPayload payload);
611:
612: /**
613: * Fired when an existing range is removed from the passed in multiplicity.
614: */
615: public void fireRangeRemoved(ITypedElement element,
616: IMultiplicity mult, IMultiplicityRange range,
617: IEventPayload payload);
618:
619: /**
620: * Fired when the order property is about to be changed on the passed in mulitplicity.
621: */
622: public boolean firePreOrderModified(ITypedElement element,
623: IMultiplicity mult, boolean proposedValue,
624: IEventPayload payload);
625:
626: /**
627: * Fired when the order property is changed on the passed in mulitplicity.
628: */
629: public void fireOrderModified(ITypedElement element,
630: IMultiplicity mult, IEventPayload payload);
631:
632: /**
633: * Fired when the order property is changed on the passed in mulitplicity.
634: */
635: public void fireCollectionTypeModified(ITypedElement element,
636: IMultiplicity mult, IMultiplicityRange range,
637: IEventPayload payload);
638:
639: /**
640: * Fired whenever the default value of an IAttribute is about to be modified.
641: */
642: public boolean fireDefaultPreModified(IAttribute attr,
643: IExpression proposedValue, IEventPayload payload);
644:
645: /**
646: * Fired whenever the default value of an IAttribute was modified.
647: */
648: public void fireDefaultModified(IAttribute attr,
649: IEventPayload payload);
650:
651: /**
652: * Fired whenever the default expression's body property for the attribute is about to change.
653: */
654: public boolean firePreDefaultBodyModified(IAttribute feature,
655: String bodyValue, IEventPayload payload);
656:
657: /**
658: * Fired whenever the default expression's body property for the attribute has changed.
659: */
660: public void fireDefaultBodyModified(IAttribute feature,
661: IEventPayload payload);
662:
663: /**
664: * Fired whenever the default expression's language property for the attribute is about to change.
665: */
666: public boolean firePreDefaultLanguageModified(IAttribute feature,
667: String language, IEventPayload payload);
668:
669: /**
670: * Fired whenever the default expression's language property for the attribute has changed.
671: */
672: public void fireDefaultLanguageModified(IAttribute feature,
673: IEventPayload payload);
674:
675: /**
676: * Fired whenever the attributes derived property is about to change..
677: */
678: public boolean firePreDerivedModified(IAttribute feature,
679: boolean proposedValue, IEventPayload payload);
680:
681: /**
682: * Fired whenever the attributes derived property has changed.
683: */
684: public void fireDerivedModified(IAttribute feature,
685: IEventPayload payload);
686:
687: /**
688: * Fired whenever the attributes primary key property is about to change..
689: */
690: public boolean firePrePrimaryKeyModified(IAttribute feature,
691: boolean proposedValue, IEventPayload payload);
692:
693: /**
694: * Fired whenever the attributes primary key property has changed.
695: */
696: public void firePrimaryKeyModified(IAttribute feature,
697: IEventPayload payload);
698:
699: /**
700: * Fired whenever a pre or post condition is about to be added to an operation.
701: */
702: public boolean fireConditionPreAdded(IOperation oper,
703: IConstraint condition, boolean isPreCondition,
704: IEventPayload payload);
705:
706: /**
707: * Fired whenever a pre or post condition has been added to an operation.
708: */
709: public void fireConditionAdded(IOperation oper,
710: IConstraint condition, boolean isPreCondition,
711: IEventPayload payload);
712:
713: /**
714: * Fired whenever a pre or post condition is about to be removed from an operation.
715: */
716: public boolean fireConditionPreRemoved(IOperation oper,
717: IConstraint condition, boolean isPreCondition,
718: IEventPayload payload);
719:
720: /**
721: * Fired whenever a pre or post condition has been removed from an operation.
722: */
723: public void fireConditionRemoved(IOperation oper,
724: IConstraint condition, boolean isPreCondition,
725: IEventPayload payload);
726:
727: /**
728: * Fired whenever the query flag on an operation is about to be modified.
729: */
730: public boolean firePreQueryModified(IOperation oper,
731: boolean proposedValue, IEventPayload payload);
732:
733: /**
734: * Fired whenever the query flag on an operation has been modified.
735: */
736: public void fireQueryModified(IOperation oper, IEventPayload payload);
737:
738: /**
739: * Fired whenever a RaisedException is about to be added to an operation.
740: */
741: public boolean fireRaisedExceptionPreAdded(IOperation oper,
742: IClassifier pException, IEventPayload payload);
743:
744: /**
745: * Fired whenever a RaisedException has been added to an operation.
746: */
747: public void fireRaisedExceptionAdded(IOperation oper,
748: IClassifier pException, IEventPayload payload);
749:
750: /**
751: * Fired whenever a RaisedException is about to be removed from an operation.
752: */
753: public boolean fireRaisedExceptionPreRemoved(IOperation oper,
754: IClassifier pException, IEventPayload payload);
755:
756: /**
757: * Fired whenever a RaisedException has been removed from an operation.
758: */
759: public void fireRaisedExceptionRemoved(IOperation oper,
760: IClassifier pException, IEventPayload payload);
761:
762: /**
763: * Fired whenever the passed in Classifier's name is about to change.
764: */
765: public boolean firePreImpacted(IClassifier classifier,
766: ETList<IVersionableElement> impacted, IEventPayload payload);
767:
768: /**
769: * Fired whenever the passed in Classifier's name has changed.
770: */
771: public void fireImpacted(IClassifier classifier,
772: ETList<IVersionableElement> impacted, IEventPayload payload);
773:
774: /**
775: * Fired right before a qualifying attribute is added to this end.
776: */
777: public boolean firePreQualifierAttributeAdded(IAssociationEnd pEnd,
778: IAttribute pAttr, IEventPayload payload);
779:
780: /**
781: * Fired after a qualifying attribute was added to this end.
782: */
783: public void fireQualifierAttributeAdded(IAssociationEnd pEnd,
784: IAttribute pAttr, IEventPayload payload);
785:
786: /**
787: * Fired right before a qualifying attribute is removed from this end.
788: */
789: public boolean firePreQualifierAttributeRemoved(
790: IAssociationEnd pEnd, IAttribute pAttr,
791: IEventPayload payload);
792:
793: /**
794: * Fired after a qualifying attribute was removed from this end.
795: */
796: public void fireQualifierAttributeRemoved(IAssociationEnd pEnd,
797: IAttribute pAttr, IEventPayload payload);
798:
799: /**
800: * Fired when a property changes on the operation
801: */
802: public void fireOperationPropertyModified(IOperation oper,
803: int kind, IEventPayload payload);
804:
805: /**
806: * Fired when a property is about to be changed on the operation
807: */
808: public boolean firePreOperationPropertyModified(IOperation oper,
809: int kind, boolean proposedValue, IEventPayload payload);
810: }
|