Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`void` | `checkElements(List list, Compartment compartment, DiagramType type)`
`void` | `convert(Diagram diagram, Class type)`
`boolean` | `isSuitable(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)

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM