org.eclipse.ocl.examples.debug.ui.pages
Class BreakpointConditionEditor

java.lang.Object
  extended by org.eclipse.ocl.examples.debug.ui.pages.BreakpointConditionEditor

public class BreakpointConditionEditor
extends java.lang.Object


Constructor Summary
BreakpointConditionEditor(org.eclipse.swt.widgets.Composite parent, OCLLineBreakpointPage page)
          Constructor
 
Method Summary
 void dispose()
          Dispose of the handlers, etc
 java.lang.String getCondition()
          Returns the condition defined in the source viewer.
protected  void refreshValidState()
           
 void setEnabled(boolean enabled)
           
protected  void valueChanged()
          Handle that the value changed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakpointConditionEditor

public BreakpointConditionEditor(org.eclipse.swt.widgets.Composite parent,
                                 OCLLineBreakpointPage page)
Constructor

Parameters:
parent - the parent to add this widget to
page - the page that is associated with this widget
Method Detail

getCondition

public java.lang.String getCondition()
Returns the condition defined in the source viewer.

Returns:
the contents of this condition editor

refreshValidState

protected void refreshValidState()
See Also:
FieldEditor.refreshValidState()

setEnabled

public void setEnabled(boolean enabled)
See Also:
FieldEditor.setEnabled(boolean, org.eclipse.swt.widgets.Composite)

valueChanged

protected void valueChanged()
Handle that the value changed


dispose

public void dispose()
Dispose of the handlers, etc