@ApplicationScoped public class DefaultEditorContextProviderImpl extends Object implements EditorContextProvider
| Constructor and Description |
|---|
DefaultEditorContextProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
Channel |
getChannel()
Access the channel where the editor is running (e.g.
|
Optional<OperatingSystem> |
getOperatingSystem()
Access the operating system where the editor is running (e.g.
|
boolean |
isReadOnly()
Checks if the editor is in read only mode.
|
public Channel getChannel()
EditorContextProvidergetChannel in interface EditorContextProviderpublic Optional<OperatingSystem> getOperatingSystem()
EditorContextProvidergetOperatingSystem in interface EditorContextProviderpublic boolean isReadOnly()
EditorContextProviderisReadOnly in interface EditorContextProviderCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.