[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[News.eclipse.technology.packaging] Re: UDC in own RCP applications
|
Today I was able to get the UsageDataService and record my own commands.
However I had some "discouraged access warnings" which I ignored. Is this
a proper way to use the service?
this.tracker = new ServiceTracker(Activator.getContext(),
UsageDataService.class.getName(), null);
this.tracker.open();
usageService = (UsageDataService) this.tracker.getService();
Assert.isNotNull(usageService);
this.usageService.startMonitoring();
Regards,
Eugen