Summary: | GMFResource's abort on error load option is internal API | ||||||
---|---|---|---|---|---|---|---|
Product: | [Modeling] GMF-Runtime | Reporter: | Chris McGee <cbmcgee> | ||||
Component: | General | Assignee: | Christian Damus <give.a.damus> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | P1 | CC: | vramaswa | ||||
Version: | 1.0 | Keywords: | api, contributed | ||||
Target Milestone: | 1.0 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Chris McGee
2006-04-17 15:52:10 EDT
In addition, it looks like the following classes also need to be public if a client is to be able to extend the GMF Runtime's resource implementation: - GMFResource (to extend it) - GMFLoad, GMFHandler, GMFHelper (to customize persistence) - PathmapManager (to provide system-defined URI mappings) Created attachment 39289 [details]
Patch to publish some internal APIs
Attached a patch that moves the following classes into the org.eclipse.gmf.runtime.emf.core.resources package:
- package org.eclipse.gmf.runtime.emf.core.internal.exceptions:
- class AbortResourceLoadException
- package org.eclipse.gmf.runtime.emf.core.internal.resources:
- class GMFResource
- class GMFHelper
- class GMFHandler
- class GMFLoad
The internal classes remain as trivial subclasses of these public classes, deprecated. They will be removed in the next build after this patch is committed, to provide a window for migration of any existing dependents.
Also, the org.eclipse.gmf.runtime.emf.core.internal.resources.PathmapManager class is refactored as an internal implementation of a new org.eclipse.gmf.runtime.emf.core.resources.IPathmapManager interface.
Adding Vishy to cc: for his review/comments. Reviewed and applied patch. The deprecated classes will be removed next week. [target cleanup] 1.0 RC was the original target milestone for this bug [GMF Restructure] Bug 319140 : product GMF and component Runtime EMF was the original product and component for this bug |