use of com.archimatetool.editor.diagram.sketch.SketchEditor 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()));
}
Aggregations