org.eclipse.emf.cdo.common
Interface CDOCommonView.Options

All Superinterfaces:
INotifier, IOptions
All Known Subinterfaces:
CDOTransaction.Options, CDOView.Options
Enclosing interface:
CDOCommonView

public static interface CDOCommonView.Options
extends IOptions

Encapsulates the configuration options of CDO views that are common to both client and server side.

Since:
4.1
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Nested Class Summary
static interface CDOCommonView.Options.LockNotificationEvent
          An options event fired from common view options when the lock notification enabled option has changed.
 
Method Summary
 boolean isLockNotificationEnabled()
          Returns true if this view will notify its listeners about changes to the lock states of the objects in this view (due to lock operations in other views), false otherwise.
 void setLockNotificationEnabled(boolean enabled)
          Specifies whether this view will notify its listeners about changes to the lock states of the objects in this view (due to lock operations in other views), or not.
 
Methods inherited from interface org.eclipse.net4j.util.options.IOptions
getContainer
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Method Detail

isLockNotificationEnabled

boolean isLockNotificationEnabled()
Returns true if this view will notify its listeners about changes to the lock states of the objects in this view (due to lock operations in other views), false otherwise.

See Also:
CDOLockState

setLockNotificationEnabled

void setLockNotificationEnabled(boolean enabled)
Specifies whether this view will notify its listeners about changes to the lock states of the objects in this view (due to lock operations in other views), or not.

See Also:
CDOLockState


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.