Class CustomExecuteAction

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.datatools.sqltools.sqleditor.internal.actions.BaseExecuteAction
org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
com.iizigo.db.editor.CustomExecuteAction
All Implemented Interfaces:
IAction, IUpdate

public class CustomExecuteAction extends org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
Customized Execute action providing VS Field variables, and fixing command execution. Code copied (and modified) and overridden from super class.
Author:
Christopher Mindus
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Overrides the enabled state.
      Specified by:
      isEnabled in interface IAction
      Overrides:
      isEnabled in class Action
    • update

      public void update()
      Overrides the update state.
      Specified by:
      update in interface IUpdate
      Overrides:
      update in class org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
    • setSQLBuilder

      public void setSQLBuilder(org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilder sqlBuilder)
      Overrides:
      setSQLBuilder in class org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
    • getPostRun

      public Runnable getPostRun()
      Overrides:
      getPostRun in class org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
    • getSQLStatements

      public String getSQLStatements()
      Overrides:
      getSQLStatements in class org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction
    • run

      public void run()
      Specified by:
      run in interface IAction
      Overrides:
      run in class org.eclipse.datatools.sqltools.sqlbuilder.actions.ExecuteAction