|[CDO] How to know if a view is in audit mode [message #989201]
||Wed, 05 December 2012 08:36
| Paco Blanco
Registered: June 2012
The code that I use to check if a view is in audit mode (not set at current time) is:|
(AbstractCDOView)model.cdoView()).getTimeStamp() != CDOView.UNSPECIFIED_DATE
But I have to use org.eclipse.emf.internal.cdo.view.AbstractCDOView that is in an internal package and it produces an Discouraged access warning.
Is there a common and more correct way to check it?
[Updated on: Wed, 05 December 2012 08:53]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06245 seconds