org.eclipse.mat.ui.snapshot.actions
Class CopyOQL

java.lang.Object
  extended by org.eclipse.mat.ui.snapshot.actions.CopyOQL
All Implemented Interfaces:
IQuery

public class CopyOQL
extends Object
implements IQuery

Combines all the OQL queries associated with the IContextObjectSets into one big query.


Field Summary
 Display display
           
 List<IContextObject> elements
           
 
Constructor Summary
CopyOQL()
           
 
Method Summary
 IResult execute(IProgressListener listener)
          The execute method is called after all arguments have been injected into the query instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

public List<IContextObject> elements

display

public Display display
Constructor Detail

CopyOQL

public CopyOQL()
Method Detail

execute

public IResult execute(IProgressListener listener)
                throws Exception
Description copied from interface: IQuery
The execute method is called after all arguments have been injected into the query instance. Typical results are TextResult, CompositeResult, SectionSpec etc.

Specified by:
execute in interface IQuery
Parameters:
listener - Monitor to report progress and check for cancellation.
Returns:
The result of the query.
Throws:
Exception