Package at.kugel.tool.buildtray.action.desktop

Examples of at.kugel.tool.buildtray.action.desktop.DesktopOperation


         out.close();
      }
   }

   private void openDesktopEditor(final File savedFile) throws IOException {
      new DesktopOperation(Desktop.Action.EDIT) {
         @Override
         public void runWithDesktop(Desktop deskTop) throws IOException {
            deskTop.edit(savedFile);
         }
      }.run();
View Full Code Here


   protected void workTemplate() throws IOException {
      openDesktopBrowser();
   }

   private void openDesktopBrowser() throws IOException {
      new DesktopOperation(Desktop.Action.BROWSE) {
         @Override
         public void runWithDesktop(Desktop deskTop) throws IOException {
            deskTop.browse(createDisplayUri());
         }
      }.run();
View Full Code Here

         openConfigInNotepad();
      }
   }

   private void openConfigInEditor() throws IOException {
      new DesktopOperation(Desktop.Action.EDIT) {
         @Override
         public void runWithDesktop(Desktop deskTop) throws IOException {
            deskTop.edit(configurationFile());
         }
      }.run();
View Full Code Here

TOP

Related Classes of at.kugel.tool.buildtray.action.desktop.DesktopOperation

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.