Package org.buildndeploy.client.ui.animation

Examples of org.buildndeploy.client.ui.animation.OneTimeCssAnimator


     
      public void onDrop(DragContext context) {
        FileIcon f = (FileIcon) context.draggable;
        f.delete(false);
        AppController.getService().deleteBlob(f.fileDetail.getBlobKey(), ignoredCallback);
        new OneTimeCssAnimator(mainPanel.trashButton, "shakes", 1000);
      }
    };
    IconPanel.dragController.registerDropController(deleteDropController);
   
    SimpleDropController downloadDropController = new SimpleDropController(mainPanel.downloadButton) {
     
      public void onDrop(DragContext context) {
        ((FileIcon) context.draggable).download();
        new OneTimeCssAnimator(mainPanel.downloadButton, "shakes", 1000);
      }
    };
    IconPanel.dragController.registerDropController(downloadDropController);
   
    SimpleDropController helpDropController = new SimpleDropController(mainPanel.helpButton) {
     
      public void onDrop(DragContext context) {
        ((FileIcon) context.draggable).showDetail();
        new OneTimeCssAnimator(mainPanel.helpButton, "shakes", 1000);
      }
    };
    IconPanel.dragController.registerDropController(helpDropController);
  }
View Full Code Here

TOP

Related Classes of org.buildndeploy.client.ui.animation.OneTimeCssAnimator

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.