Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.resources
Class ApplicationDiagramResourceImpl

java.lang.Object
  extended by GMFResource
      extended by 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.


Field Summary
static String copyright
           
 
Constructor Summary
ApplicationDiagramResourceImpl(URI uri)
          Constructor for ApplicationModelResourceImpl.
 
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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

ApplicationDiagramResourceImpl

public ApplicationDiagramResourceImpl(URI uri)
Constructor for ApplicationModelResourceImpl.

Method Detail

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.


Rational Developer for Power Systems Software
V7.6

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.