HEADER

biouml.model
Class DiagramTypeConverter.ConditionalConverter

biouml.model.DiagramTypeConverter.YesConverter
  |
  +--biouml.model.DiagramTypeConverter.ConditionalConverter

public static class DiagramTypeConverter.ConditionalConverter
extends DiagramTypeConverter.YesConverter

Checks whether data types of all kernels on the diagram can be used in new diagram. If true - then diagram type will be changed, othervise exception will be thrown. The exception message will list all kernel names that are not suitable for new diagram type.


Method Summary
 voidcheckElements(List list, Compartment compartment, DiagramType type)
           
 voidconvert(Diagram diagram, Class type)
           
 booleanisSuitable(DiagramElement de, DiagramType type)
           

Method Detail

checkElements

public void checkElements(List list, Compartment compartment, DiagramType type)

convert

public void convert(Diagram diagram, Class type)
throws java.lang.Exception

isSuitable

public boolean isSuitable(DiagramElement de, DiagramType type)

FOOTER

BOTTOM