Package org.eclipse.emf.edit.ui.action

Examples of org.eclipse.emf.edit.ui.action.UndoAction


  }
 
  protected void initActions(IActionBars actionBars) {
      ISharedImages sharedImages = PlatformUI.getWorkbench().getSharedImages();

      undoAction = new UndoAction(editingDomain);
      undoAction.setImageDescriptor(sharedImages.getImageDescriptor(ISharedImages.IMG_TOOL_UNDO));
      actionBars.setGlobalActionHandler(ActionFactory.UNDO.getId(), undoAction);

      redoAction = new RedoAction(editingDomain);
      redoAction.setImageDescriptor(sharedImages.getImageDescriptor(ISharedImages.IMG_TOOL_REDO));
View Full Code Here

TOP

Related Classes of org.eclipse.emf.edit.ui.action.UndoAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.