|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.patterns.framework.PatternParameterBehavior
A pattern's behavior is customized in two ways, one customization method are the framework's hot-spots and these hot-spot methods can be overridden to aggregate or redefine existing isolated behavior. Another way to customize a pattern's behavior is to add behavior extensions. There is a pool of resuable behavior extensions that can be used by the various pattern abstractions suchs as the instance, definition, parameter, dependency, etc. New behavior extensions can also be added to well- defined point-in-time (event triggered) hot-spots and associated with the needed pattern abstraction entity. For example, there is a behavior extension defined for parameters that allow for a creatable parameter (one that returns true to the isCreatable) to automatically create upon instantiation of the pattern. If a pattern has a parameter and its value should be created automatically upon the instantiation of a new pattern instance the aforementioned behavior extension should be applied to that parameter. If any value is already bound to a parameter then the create will not be called (the same effect as if is creatable returned false to begin with).
Field Summary | |
static PatternParameterBehavior |
CREATE_ON_INSTANTIATION
Create on instantiation automatically calls the create methods on creatable parameter after the pattern instance has been created. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final PatternParameterBehavior CREATE_ON_INSTANTIATION
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.