use of com.archimatetool.editor.diagram.ArchimateDiagramEditor in project archi by archimatetool.
the class CanvasModelFactoryTests method testIsUsedFor.
@Test
public void testIsUsedFor() {
ICreationFactory factory = new CanvasModelFactory(null);
assertTrue(factory.isUsedFor(new CanvasEditor()));
assertFalse(factory.isUsedFor(new SketchEditor()));
assertFalse(factory.isUsedFor(new ArchimateDiagramEditor()));
}
use of com.archimatetool.editor.diagram.ArchimateDiagramEditor in project archi by archimatetool.
the class SketchModelFactoryTests method testIsUsedFor.
@Test
public void testIsUsedFor() {
ICreationFactory factory = new SketchModelFactory(null);
assertTrue(factory.isUsedFor(new SketchEditor()));
assertFalse(factory.isUsedFor(new ArchimateDiagramEditor()));
}
Aggregations