|
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.core.PatternServiceUtil
Exposes the operations of the pattern service that are needed in the public application programming interface (API).
To retrieve the pattern descriptor, use the getPatternDescriptor
method.
Use the getPatternInstanceProvider
method to retrieve
the provider for the instances of the pattern.
Method Summary | |
static IPatternDescriptor |
getPatternDescriptor(IPatternIdentity identity,
org.eclipse.core.runtime.MultiStatus status)
Returns the descriptor for the pattern with the given identity. |
static AbstractPatternInstanceProvider |
getPatternInstanceProvider(IPatternDescriptor pattern,
org.eclipse.core.runtime.MultiStatus status)
Returns the provider for the instances of the pattern represented by the given pattern descriptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static IPatternDescriptor getPatternDescriptor(IPatternIdentity identity, org.eclipse.core.runtime.MultiStatus status)
identity
- The identity of the pattern.status
- The status produced by the operation.
public static AbstractPatternInstanceProvider getPatternInstanceProvider(IPatternDescriptor pattern, org.eclipse.core.runtime.MultiStatus status)
Some patterns may not have an installed
or installable plug-in available, in which case the returned
IPatternInstanceProvider may be null
.
pattern
- The pattern definition to be instantiated.status
- The status produced by the operation.
null
.
|
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.