com.ibm.etools.systems.application.visual.editor.resources
Class ApplicationDiagramResourceImpl
java.lang.Object
GMFResource
com.ibm.etools.systems.application.visual.editor.resources.ApplicationDiagramResourceImpl
public class ApplicationDiagramResourceImpl
- extends GMFResource
Resource class for appmdl_diagram file types. This is required in order to
migrate model versions forward.
Method Summary |
protected Adapter |
createModificationTrackingAdapter()
The inherited implementation from GMFResource creates an adapter that
skip fire notification if the resource is already in modified state. |
protected XMLLoad |
createXMLLoad()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ApplicationDiagramResourceImpl
public ApplicationDiagramResourceImpl(URI uri)
- Constructor for ApplicationModelResourceImpl.
createXMLLoad
protected XMLLoad createXMLLoad()
createModificationTrackingAdapter
protected Adapter createModificationTrackingAdapter()
- The inherited implementation from GMFResource creates an adapter that
skip fire notification if the resource is already in modified state.
This does not fit our need. We may progrmatically execute some
operation which causes the resource to be changed, but we want to mask
the resource modification handling so that the UI ignores about the change.
to keep the diagram is non-dirty even the underline resource has changed.
A scenario is to make the diagram non-dirty when it is first created from
ApplicationModel object.
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.