public static interface HasLockSyncMenuStateHelper.LockSyncMenuStateHelper
MenuItems synchronized with lock state.| Modifier and Type | Interface and Description |
|---|---|
static class |
HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation
Possible operations; enable/disable MenuItem or veto any change all together.
|
| Modifier and Type | Method and Description |
|---|---|
HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation |
enable(Path file,
boolean isLocked,
boolean isLockedByCurrentUser)
Returns whether
MenuItems should be enabled or disabled based on the provide lock information. |
HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation enable(Path file, boolean isLocked, boolean isLockedByCurrentUser)
MenuItems should be enabled or disabled based on the provide lock information.file - Path to which the lock relates.isLocked - true if the file is locked.isLockedByCurrentUser - true if the file is locked by the current User.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.