Class SpindleHandler

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
it.ramecera.drill.ui.handlers.SpindleHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

public final class SpindleHandler
extends org.eclipse.core.commands.AbstractHandler

Creation date: 2020-03-09
Last updated: 2020-09-14
Company: Rameceraâ„¢

Author:
Massimo Maglioni

Description: the plug-in action, main method is execute.

All source code is contained inside the plug-in, divided in the two directories good_A and goods_B. These directories are in turn divided into the two screwdriver and waxds-copper applications. All the source code will be copied to the final user's workspace. First of all, if they were already present locally,

  • I delete good_A and goods_B;
  • I create a new Eclipse project screwdriver inside the workspace, not yet visible in the IDE;
  • I extract good_A and goods_B from plug-in, which is actually a zip file, and I copy the content of subdirectory screwdriver temporarily within the workspace, only for verify that all files are available;
  • I copy them in the correct position within the new project screwdriver;
  • I make the new screwdriver project visible.
  • I delete the temporary copies;
Finally, I repeat the steps from 2 to 5 for the waxds-copper application.

  • Constructor Summary

    Constructors 
    Constructor Description
    SpindleHandler()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object execute​(org.eclipse.core.commands.ExecutionEvent event)
    Creation date: 2020-03-09
    Last updated: 2020-09-14
    Class: SpindleHandler

    Methods inherited from class org.eclipse.core.commands.AbstractHandler

    addHandlerListener, dispose, isEnabled, isHandled, removeHandlerListener, setEnabled

    Methods inherited from class java.lang.Object

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

  • Method Details

    • execute

      public final java.lang.Object execute​(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException

      Creation date: 2020-03-09
      Last updated: 2020-09-14
      Class: SpindleHandler

      History:
      The description of N# is in project plan report.
      2020-09-14 implementation of N16

      Description: business logic of the plug-in drill.

      Throws:
      org.eclipse.core.commands.ExecutionException