@Test public void testIsReadOnlyDiagramWhenIsVsCode() { when(contextProvider.getChannel()).thenReturn(VSCODE); assertFalse(readOnlyProvider.isReadOnlyDiagram()); }
@Override public boolean isReadOnlyDiagram() { return contextProvider.isReadOnly(); }
ReadOnlyProviderImpl implements ReadOnlyProvider { @Override public boolean isReadOnlyDiagram() { return contextProvider.isReadOnly(); } }
ReadOnlyProviderImpl implements ReadOnlyProvider { @Override public boolean isReadOnlyDiagram() { return contextProvider.isReadOnly(); } @Inject  ReadOnlyProviderImpl(final EditorContextProvider contextProvider); }
ReadOnlyProviderImpl implements ReadOnlyProvider { @Override public boolean isReadOnlyDiagram() { return contextProvider.isReadOnly(); } @Inject  ReadOnlyProviderImpl(final EditorContextProvider contextProvider); @Override boolean isReadOnlyDiagram(); }
ReadOnlyProviderImpl implements ReadOnlyProvider { @Override public boolean isReadOnlyDiagram() { return contextProvider.isReadOnly(); } @Inject  ReadOnlyProviderImpl(final EditorContextProvider contextProvider); @Override boolean isReadOnlyDiagram();  }