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

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

public class SaveValueAsQuery
extends java.lang.Object
implements IQuery


Field Summary
 Display display
           
 java.io.File file
           
 java.util.List<IContextObject> objects
           
 ISnapshot snapshot
           
 
Constructor Summary
SaveValueAsQuery()
           
 
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

snapshot

public ISnapshot snapshot

objects

public java.util.List<IContextObject> objects

file

public java.io.File file

display

public Display display
Constructor Detail

SaveValueAsQuery

public SaveValueAsQuery()
Method Detail

execute

public IResult execute(IProgressListener listener)
                throws java.lang.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:
java.lang.Exception