|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.modeler.sysml.blockdefinitiondiagram.util.BlockTools
public class BlockTools
| Constructor Summary | |
|---|---|
BlockTools()
|
|
| Method Summary | |
|---|---|
static java.lang.String[] |
getAllAvailableTypeNames(java.util.Collection types)
Return an array of type names. |
static java.util.Collection |
getAllAvailableTypes(org.eclipse.uml2.uml.Element element)
Return a collection of all types contained in the model associated to a given element |
static java.util.List<?> |
getAvailablePortType(ModelSYSML model)
Gets all the 'Type' objects of the model |
static java.lang.String |
getFromNotation(org.eclipse.uml2.uml.Element element,
org.eclipse.uml2.uml.Element parent)
Get a string representation of the origin of a SysML element |
static PackageSYSML |
getPackageSYSML(org.eclipse.uml2.uml.Element element)
Return the block definition in which an element is contained |
static java.lang.String |
getTypeFullName(org.eclipse.uml2.uml.Type elt)
Return the customized type name |
static java.util.Collection |
removeRelationship(java.util.Collection c)
Remove relationships from a collection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockTools()
| Method Detail |
|---|
public static java.util.Collection getAllAvailableTypes(org.eclipse.uml2.uml.Element element)
element -
public static java.util.List<?> getAvailablePortType(ModelSYSML model)
container - The start element to search in
public static java.util.Collection removeRelationship(java.util.Collection c)
c - the collection
public static PackageSYSML getPackageSYSML(org.eclipse.uml2.uml.Element element)
element -
public static java.lang.String[] getAllAvailableTypeNames(java.util.Collection types)
types - a Collection of Type
public static java.lang.String getTypeFullName(org.eclipse.uml2.uml.Type elt)
type - type to customize name
public static java.lang.String getFromNotation(org.eclipse.uml2.uml.Element element,
org.eclipse.uml2.uml.Element parent)
element - an SysML elementparent - the element which graphically contains the SysML Type
element
|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.