Class ButtonBuilderSubOp

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
All Implemented Interfaces:
ILinkOperation, ILinkWizardPage, Runnable, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class ButtonBuilderSubOp extends VSActionBuilderSubOp implements Runnable
An action builder sub-operation.
Author:
Christopher Mindus
  • Method Details

    • getBuilderComponent

      public String getBuilderComponent()
      Returns the builder component processed.
      Specified by:
      getBuilderComponent in class UIBuilderSubOperation
    • getBuilderImage

      public org.eclipse.swt.graphics.Image getBuilderImage()
      Returns the builder component image.
      Specified by:
      getBuilderImage in class UIBuilderSubOperation
    • createControl

      public void createControl(org.eclipse.swt.widgets.Composite parent)
      Create contents of the wizard.
      Specified by:
      createControl in interface org.eclipse.jface.dialogs.IDialogPage
    • run

      public void run()
      Runs the state check.
      Specified by:
      run in interface Runnable
    • executeOperation

      public org.eclipse.core.runtime.IStatus executeOperation(ComplexOperation op) throws org.eclipse.core.runtime.CoreException
      Executes the operation.
      Specified by:
      executeOperation in interface ILinkOperation
      Parameters:
      op - The complex operation.
      Returns:
      The status of the operation. A complex operation would have a MultiStatus return code.
      Throws:
      org.eclipse.core.runtime.CoreException - If the execution failed.