Class ViewIFDSLocalAction<T,P,F>

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
com.ibm.wala.ide.ui.ViewIFDSLocalAction<T,P,F>
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public class ViewIFDSLocalAction<T,P,F> extends org.eclipse.jface.action.Action
An SWT action that spawns spawns a ghostview to see the local supergraph for a procedure node which is the current selection in a tree viewer.
Author:
sfink
  • Field Summary

    Fields inherited from interface org.eclipse.jface.action.IAction

    AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
  • Constructor Summary

    Constructors
    Constructor
    Description
    ViewIFDSLocalAction(SWTTreeViewer<P> viewer, TabulationResult<T,P,F> result, String psFile, String dotFile, String dotExe, String gvExe)
     
    ViewIFDSLocalAction(SWTTreeViewer<P> viewer, TabulationResult<T,P,F> result, String pdfFile, String dotFile, String dotExe, String pdfViewExe, NodeDecorator<T> labels)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected String
     
    protected String
     
    protected P
     
    protected String
     
    protected ISupergraph<T,P>
     
    protected SWTTreeViewer<P>
     
    void
    run()
     
    static String
    Print a short-ish representation of s as a String

    Methods inherited from class org.eclipse.jface.action.Action

    convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText

    Methods inherited from class org.eclipse.jface.action.AbstractAction

    addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener

    Methods inherited from class org.eclipse.core.commands.common.EventManager

    addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • stringify

      public static String stringify(SSAInstruction s)
      Print a short-ish representation of s as a String
    • run

      public void run()
      Specified by:
      run in interface org.eclipse.jface.action.IAction
      Overrides:
      run in class org.eclipse.jface.action.Action
      See Also:
      • IAction.run()
    • getProcedureForSelection

      protected P getProcedureForSelection()
    • getViewer

      protected SWTTreeViewer<P> getViewer()
    • getSupergraph

      protected ISupergraph<T,P> getSupergraph()
    • getDotExe

      protected String getDotExe()
    • getDotFile

      protected String getDotFile()
    • getGvExe

      protected String getGvExe()
    • getPsFile

      protected String getPsFile()