SysML

org.topcased.modeler.sysml.internalblockdiagram.util
Class BlockTools

java.lang.Object
  extended by org.topcased.modeler.sysml.internalblockdiagram.util.BlockTools

public class BlockTools
extends java.lang.Object


Constructor Summary
BlockTools()
           
 
Method Summary
static org.eclipse.uml2.uml.Type getOldType(java.lang.String typeText, EObject object)
          Retrieve the type of an object according to its name
static PackageSYSML getPackageSYSML(org.eclipse.uml2.uml.Element element)
          Return the block definition in which an element is contained
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockTools

public BlockTools()
Method Detail

getPackageSYSML

public static PackageSYSML getPackageSYSML(org.eclipse.uml2.uml.Element element)
Return the block definition in which an element is contained

Parameters:
element -
Returns:
the block definition

getOldType

public static org.eclipse.uml2.uml.Type getOldType(java.lang.String typeText,
                                                   EObject object)
Retrieve the type of an object according to its name

Parameters:
EObject - the object
String - the typeText
Returns:
Type the type of the object

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.