Class ToggleEASyNatureAction

  • All Implemented Interfaces:
    org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

    public class ToggleEASyNatureAction
    extends java.lang.Object
    implements org.eclipse.ui.IObjectActionDelegate
    Toggles the EASY nature.
    Author:
    Holger Eichelberger
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.jface.viewers.ISelection selection  
      private org.eclipse.swt.widgets.Shell shell  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(org.eclipse.jface.action.IAction action)  
      void selectionChanged​(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)  
      void setActivePart​(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • shell

        private org.eclipse.swt.widgets.Shell shell
      • selection

        private org.eclipse.jface.viewers.ISelection selection
    • Constructor Detail

      • ToggleEASyNatureAction

        public ToggleEASyNatureAction()
    • Method Detail

      • selectionChanged

        public void selectionChanged​(org.eclipse.jface.action.IAction action,
                                     org.eclipse.jface.viewers.ISelection selection)
        Specified by:
        selectionChanged in interface org.eclipse.ui.IActionDelegate
      • setActivePart

        public void setActivePart​(org.eclipse.jface.action.IAction action,
                                  org.eclipse.ui.IWorkbenchPart targetPart)
        Specified by:
        setActivePart in interface org.eclipse.ui.IObjectActionDelegate
      • run

        public void run​(org.eclipse.jface.action.IAction action)
        Specified by:
        run in interface org.eclipse.ui.IActionDelegate