Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] How to know if a view is in audit mode
[CDO] How to know if a view is in audit mode [message #989201] Wed, 05 December 2012 03:36
Paco Blanco is currently offline Paco Blanco
Messages: 28
Registered: June 2012
Junior Member
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 03:53]

Report message to a moderator

Previous Topic:[Compare] Showing differences in a Comparison object?
Next Topic:[Teneo] Multiple class loader problem
Goto Forum:
  


Current Time: Mon Jul 28 06:29:58 EDT 2014

Powered by FUDForum. Page generated in 0.01439 seconds