@Test(expected = UnsupportedOperationException.class) public void testCompositeControlNotSupported() { WiresCompositeControl.Context context = mock(WiresCompositeControl.Context.class); factory.newCompositeControl(context, wiresManager); }
@Override public WiresCompositeControl newCompositeControl(WiresCompositeControl.Context provider, WiresManager wiresManager) { throw new UnsupportedOperationException("Case Management does not yet support multiple shape handling."); }
CaseManagementControlFactory implements WiresControlFactory { @Override public WiresCompositeControl newCompositeControl(WiresCompositeControl.Context provider, WiresManager wiresManager) { throw new UnsupportedOperationException("Case Management does not yet support multiple shape handling."); } }
CaseManagementControlFactory implements WiresControlFactory { @Override public WiresCompositeControl newCompositeControl(WiresCompositeControl.Context provider, WiresManager wiresManager) { throw new UnsupportedOperationException("Case Management does not yet support multiple shape handling."); } @Inject  CaseManagementControlFactory(final CaseManagementContainmentStateHolder state); }
CaseManagementControlFactory implements WiresControlFactory { @Override public WiresCompositeControl newCompositeControl(WiresCompositeControl.Context provider, WiresManager wiresManager) { throw new UnsupportedOperationException("Case Management does not yet support multiple shape handling."); } @Inject  CaseManagementControlFactory(final CaseManagementContainmentStateHolder state); @Override WiresShapeControl newShapeControl(WiresShape shape,
                                             WiresManager wiresManager); @Override WiresCompositeControl newCompositeControl(WiresCompositeControl.Context provider,
                                                     WiresManager wiresManager); @Override WiresShapeHighlight<PickerPart.ShapePart> newShapeHighlight(WiresManager wiresManager); @Override WiresLayerIndex newIndex(WiresManager manager); @Override WiresConnectorControl newConnectorControl(WiresConnector connector,
                                                     WiresManager wiresManager); @Override WiresConnectionControl newConnectionControl(WiresConnector connector,
                                                       boolean headNotTail,
                                                       WiresManager wiresManager); }
CaseManagementControlFactory implements WiresControlFactory { @Override public WiresCompositeControl newCompositeControl(WiresCompositeControl.Context provider, WiresManager wiresManager) { throw new UnsupportedOperationException("Case Management does not yet support multiple shape handling."); } @Inject  CaseManagementControlFactory(final CaseManagementContainmentStateHolder state); @Override WiresShapeControl newShapeControl(WiresShape shape,
                                             WiresManager wiresManager); @Override WiresCompositeControl newCompositeControl(WiresCompositeControl.Context provider,
                                                     WiresManager wiresManager); @Override WiresShapeHighlight<PickerPart.ShapePart> newShapeHighlight(WiresManager wiresManager); @Override WiresLayerIndex newIndex(WiresManager manager); @Override WiresConnectorControl newConnectorControl(WiresConnector connector,
                                                     WiresManager wiresManager); @Override WiresConnectionControl newConnectionControl(WiresConnector connector,
                                                       boolean headNotTail,
                                                       WiresManager wiresManager);  }