th.co.edge.jseq.argouml.util
Class MModelUtil

java.lang.Object
  extended by th.co.edge.jseq.argouml.util.MModelUtil

public class MModelUtil
extends java.lang.Object

A utility class to work with MModel objects.


Method Summary
static SequenceDiagram addSequenceDiagram(ru.novosoft.uml.model_management.MModel model, Activation activation)
          Creates a new SequenceDiagram based on an Activation and adds it to the given MModel.
static ru.novosoft.uml.model_management.MModel createMModel(java.lang.String name)
          Returns a new MModel object with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createMModel

public static ru.novosoft.uml.model_management.MModel createMModel(java.lang.String name)
Returns a new MModel object with the given name.

Parameters:
name - the name of the model to create
Returns:
a new MModel object

addSequenceDiagram

public static SequenceDiagram addSequenceDiagram(ru.novosoft.uml.model_management.MModel model,
                                                 Activation activation)
                                          throws javax.xml.parsers.ParserConfigurationException
Creates a new SequenceDiagram based on an Activation and adds it to the given MModel.

Parameters:
model - the MModel to which to add the sequence diagram
activation - the Activation on which to base the sequence diagram
Returns:
the newly created SequenceDiagram
Throws:
javax.xml.parsers.ParserConfigurationException - if there is some serious error in the XML configuration (should normally not occur)


Copyright © 2008 Edge Software, Co., Ltd.. All Rights Reserved.