com.aptana.ide.debug.internal.ui.actions
Class PopupInspectAction

java.lang.Object
  extended by com.aptana.ide.debug.internal.ui.actions.WatchAction
      extended by com.aptana.ide.debug.internal.ui.actions.InspectAction
          extended by com.aptana.ide.debug.internal.ui.actions.PopupInspectAction
All Implemented Interfaces:
org.eclipse.debug.core.model.IWatchExpressionListener, org.eclipse.jface.text.information.IInformationProvider, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

public class PopupInspectAction
extends InspectAction
implements org.eclipse.jface.text.information.IInformationProvider

Author:
Max Stepanov

Field Summary
static java.lang.String ACTION_DEFININIITION_ID
          ACTION_DEFININIITION_ID
 
Constructor Summary
PopupInspectAction()
           
 
Method Summary
protected  void displayResult(org.eclipse.debug.core.model.IWatchExpressionResult result)
          displayResult
 java.lang.String getInformation(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion subject)
          see org.eclipse.jface.text.information.IInformationProvider#getInformation(org.eclipse.jface.text.ITextViewer, org.eclipse.jface.text.IRegion)
protected  org.eclipse.jface.text.IRegion getRegion()
          getRegion
 org.eclipse.jface.text.IRegion getSubject(org.eclipse.jface.text.ITextViewer textViewer, int offset)
           
protected  void showPopup(org.eclipse.debug.core.model.IWatchExpressionResult result)
          showPopup
 
Methods inherited from class com.aptana.ide.debug.internal.ui.actions.InspectAction
createExpression, watchEvaluationFinished
 
Methods inherited from class com.aptana.ide.debug.internal.ui.actions.WatchAction
dispose, init, init, run, selectionChanged, setActiveEditor, showExpressionsView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_DEFININIITION_ID

public static final java.lang.String ACTION_DEFININIITION_ID
ACTION_DEFININIITION_ID

See Also:
Constant Field Values
Constructor Detail

PopupInspectAction

public PopupInspectAction()
Method Detail

getInformation

public java.lang.String getInformation(org.eclipse.jface.text.ITextViewer textViewer,
                                       org.eclipse.jface.text.IRegion subject)
see org.eclipse.jface.text.information.IInformationProvider#getInformation(org.eclipse.jface.text.ITextViewer, org.eclipse.jface.text.IRegion)

Specified by:
getInformation in interface org.eclipse.jface.text.information.IInformationProvider
Parameters:
textViewer -
subject -
Returns:
String

getSubject

public org.eclipse.jface.text.IRegion getSubject(org.eclipse.jface.text.ITextViewer textViewer,
                                                 int offset)
Specified by:
getSubject in interface org.eclipse.jface.text.information.IInformationProvider
See Also:
IInformationProvider.getSubject(org.eclipse.jface.text.ITextViewer, int)

showPopup

protected void showPopup(org.eclipse.debug.core.model.IWatchExpressionResult result)
showPopup

Parameters:
result -

displayResult

protected void displayResult(org.eclipse.debug.core.model.IWatchExpressionResult result)
Description copied from class: InspectAction
displayResult

Overrides:
displayResult in class InspectAction
See Also:
InspectAction.displayResult(org.eclipse.debug.core.model.IWatchExpressionResult)

getRegion

protected org.eclipse.jface.text.IRegion getRegion()
getRegion

Returns:
IRegion