org.eclipse.mat.ui.internal.query.arguments
Class TextEditor

java.lang.Object
  extended by Composite
      extended by org.eclipse.mat.ui.internal.query.arguments.ArgumentEditor
          extended by org.eclipse.mat.ui.internal.query.arguments.TextEditor
Direct Known Subclasses:
ImageTextEditor

public class TextEditor
extends ArgumentEditor


Nested Class Summary
static class TextEditor.DecoratorType
           
 
Nested classes/interfaces inherited from class org.eclipse.mat.ui.internal.query.arguments.ArgumentEditor
ArgumentEditor.IEditorListener
 
Constructor Summary
TextEditor(Composite parent, IQueryContext context, ArgumentDescriptor descriptor, TableItem item)
           
TextEditor(Composite parent, IQueryContext context, ArgumentDescriptor descriptor, TableItem item, TextEditor.DecoratorType decorator)
           
 
Method Summary
 TextEditor.DecoratorType getDecorator()
           
 java.lang.Object getValue()
           
 boolean setFocus()
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.eclipse.mat.ui.internal.query.arguments.ArgumentEditor
addListener, getDescriptor, removeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextEditor

public TextEditor(Composite parent,
                  IQueryContext context,
                  ArgumentDescriptor descriptor,
                  TableItem item,
                  TextEditor.DecoratorType decorator)

TextEditor

public TextEditor(Composite parent,
                  IQueryContext context,
                  ArgumentDescriptor descriptor,
                  TableItem item)
Method Detail

setValue

public void setValue(java.lang.Object value)
              throws SnapshotException
Specified by:
setValue in class ArgumentEditor
Throws:
SnapshotException

getValue

public java.lang.Object getValue()
Specified by:
getValue in class ArgumentEditor

setFocus

public boolean setFocus()

getDecorator

public TextEditor.DecoratorType getDecorator()