IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.emf.msl
Class ResourceSetReadOperation

java.lang.Object
  extended bycom.ibm.xtools.emf.msl.ResourceSetOperation
      extended bycom.ibm.xtools.emf.msl.ResourceSetReadOperation
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableWithProgress

public abstract class ResourceSetReadOperation
extends ResourceSetOperation

A ResourceSetOperation whose execution can read models.

API clients are expected to extend this class and provide their own implementation of ResourceSetOperation.execute

Example:

         	editingDomain.run( new ResourceSetReadOperation() {
         
         		protected void execute(IProgressMonitor monitor)
         			throws InvocationTargetException, InterruptedException {
         			
         			// Perform access to the editing domain's models
         			...
         		}
         	}, new NullProgressMonitor());
 

See Also:
EditingDomain.run(ResourceSetOperation, IProgressMonitor)

Constructor Summary
ResourceSetReadOperation()
           
 
Methods inherited from class com.ibm.xtools.emf.msl.ResourceSetOperation
execute, getResult, run, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceSetReadOperation

public ResourceSetReadOperation()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.