UML

org.topcased.modeler.uml.compositestructuresdiagram.common.util
Class TypeHelper

java.lang.Object
  extended by org.topcased.modeler.uml.compositestructuresdiagram.common.util.TypeHelper

public final class TypeHelper
extends java.lang.Object

This class will be useful to find all the objects instance of 'Type' in the current model.
It takes into account the full model exploration


Constructor Summary
TypeHelper()
          The default constructor
 
Method Summary
static java.util.List<org.eclipse.uml2.uml.Element> getAvailableType(org.eclipse.uml2.uml.Model model)
          Gets all the 'Type' objects of the model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeHelper

public TypeHelper()
The default constructor

Method Detail

getAvailableType

public static java.util.List<org.eclipse.uml2.uml.Element> getAvailableType(org.eclipse.uml2.uml.Model model)
Gets all the 'Type' objects of the model

Parameters:
container - The start element to search in
Returns:
The list containing all the 'Type' objects referenced in the current model.

UML

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