Skip to main content


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 08:36
Paco Blanco is currently offline Paco BlancoFriend
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 08: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: Fri Apr 19 23:47:50 GMT 2024

Powered by FUDForum. Page generated in 0.02369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top