com.ibm.xtools.patterns.framework
Class AbstractPatternInstance.Default
java.lang.Object
com.ibm.xtools.patterns.core.AbstractPatternInstance
com.ibm.xtools.patterns.framework.AbstractPatternInstance
com.ibm.xtools.patterns.framework.AbstractPatternInstance.Default
- All Implemented Interfaces:
- Visitable
- Enclosing class:
- AbstractPatternInstance
- protected static class AbstractPatternInstance.Default
- extends AbstractPatternInstance
The default pattern instance class to use for pattern instances.
Instances of this default will be instantiated within the default
implementation of the abstract pattern definition create instance factory
method.
- See Also:
(Object, AbstractPatternResult, MultiStatus, boolean)
Methods inherited from class com.ibm.xtools.patterns.framework.AbstractPatternInstance |
accept, addArgument, addArguments, addParameterValue, addParameterValues, canCompletePattern, createArguments, createArgumentsUsingPairs, createSomeArguments, expand, expandPattern, expandPattern, getBoundElement, getCreationTime, getDefaultArguments, getFirstArgumentCandidates, getLastExpansionTime, getOwningPatternDefinition, getParameterArguments, getParameterValueCount, getParameterValues, getPatternDescriptor, getRepresentation, getRepresentationName, getSecondArgumentCandidates, getSecondArgumentCandidatesForFirstArgumentValue, getTraceabilityEnabled, getUnapplyRemovesBoundElement, initialize, maintainParameterValue, reapplyPattern, removeAllParameterValues, removeArgument, removeArguments, removeParameterValue, removeParameterValues, replaceArgument, replaceArguments, resetDefaultParameterValues, resetDefaultParameterValues, setTraceabilityEnabled, setUnapplyRemovesBoundElement, unapplyPattern, unapplyPattern, usesPairsToCreateArguments, validatePattern, validatePattern, validToAddArgument, validToAddArguments, validToCreateArguments, validToCreateSomeArguments, validToRemoveArgument, validToRemoveArguments, validToReplaceArgument, validToReplaceArguments |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPatternInstance.Default
protected AbstractPatternInstance.Default(AbstractPatternDefinition owningDefinition,
Object representation)
- Constructs a default pattern instance given the instance
representation from the persistent store. The representation instance
will be used to retrieve the pattern identity and then construct a
well-formed instance that is owned by an abstract pattern definition.
- Parameters:
owningDefinition
- the definition that governs this representation pattern
instancerepresentation
-
AbstractPatternInstance.Default
protected AbstractPatternInstance.Default(AbstractPatternDefinition owningDefinition,
Object targetObject,
AbstractPatternResult createdElements,
MultiStatus status)
- Constructs a default pattern instance given the definition and target
object. The created elements is a return parameter that returns back
any elements that are important results of this construction.
- Parameters:
owningDefinition
- the definition that will own the instancetargetObject
- the target object giving the instantiation contextcreatedElements
- the created elements resulting from this instancestatus
- the created elements resulting from this instance
linkInstanceToDefinition
public void linkInstanceToDefinition(Object Defintion,
Object Instance)
unapplyPattern
public boolean unapplyPattern(TemplateableElement t,
ArrayList pae_List)
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.