public class PatternUtils
extends java.lang.Object
Constructor and Description |
---|
PatternUtils() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.uml2.uml.NamedElement |
applyStereotypes(org.eclipse.uml2.uml.NamedElement source,
org.eclipse.uml2.uml.NamedElement target)
Apply stereotypes.
|
static org.eclipse.swt.graphics.Image |
retrieveImageforPatternPreview(org.polarsys.chess.patterns.profile.PatternsProfile.Pattern pattern)
Retrieve imagefor pattern preview.
|
static java.lang.String |
StringListToString(java.util.List<java.lang.String> list)
String list to string.
|
public static org.eclipse.uml2.uml.NamedElement applyStereotypes(org.eclipse.uml2.uml.NamedElement source, org.eclipse.uml2.uml.NamedElement target)
source
- the sourcetarget
- the targetpublic static java.lang.String StringListToString(java.util.List<java.lang.String> list)
list
- the listpublic static org.eclipse.swt.graphics.Image retrieveImageforPatternPreview(org.polarsys.chess.patterns.profile.PatternsProfile.Pattern pattern)
pattern
- the pattern