Examples of display()


Examples of org.jclouds.karaf.commands.table.ShellTable.display()

    }

    protected void printCookbooks(ChefService service, Iterable<? extends CookbookVersion> cookbookVersions, PrintStream out) {
        ShellTable table = shellTableFactory.build("cookbook");
        table.setDisplayData(cookbookVersions);
        table.display(out, true, true);

        for (CookbookVersion cookbookVersion : cookbookVersions) {
            for (String cacheKey : ServiceHelper.findCacheKeysForService(service)) {
                cacheProvider.getProviderCacheForType(ChefConstants.COOKBOOK_CACHE).putAll(cacheKey, cookbookVersion.getMetadata().getProviding().keySet());
            }
View Full Code Here

Examples of org.jclouds.karaf.commands.table.ShellTable.display()

   }

   protected void printNodes(ComputeService service, Set<? extends ComputeMetadata> nodes, PrintStream out) {
     ShellTable table = shellTableFactory.build("node");
     table.setDisplayData(nodes);
     table.display(out, true, true);

      for (ComputeMetadata metadata : nodes) {
         NodeMetadata node = (NodeMetadata) metadata;
        for (String cacheKey : ServiceHelper.findCacheKeysForService(service)) {
          cacheProvider.getProviderCacheForType(Constants.GROUP).put(cacheKey, node.getGroup());
View Full Code Here

Examples of org.jclouds.karaf.commands.table.ShellTable.display()

   }

   protected void printHardwares(ComputeService service, Set<? extends Hardware> hardwares, PrintStream out) {
     ShellTable table = shellTableFactory.build("hardware");
     table.setDisplayData(hardwares);
     table.display(out, true, true);

      for (Hardware hardware : hardwares) {
         for (String cacheKey : ServiceHelper.findCacheKeysForService(service)) {
           cacheProvider.getProviderCacheForType(Constants.HARDWARE_CACHE).put(cacheKey, hardware.getId());
         }
View Full Code Here

Examples of org.jclouds.karaf.commands.table.ShellTable.display()

   }

   protected void printImages(ComputeService service, Set<? extends Image> images, PrintStream out) {
      ShellTable table = shellTableFactory.build("image");
      table.setDisplayData(images);
      table.display(out, true, true);

      for (Image image : images) {
        for (String cacheKey : ServiceHelper.findCacheKeysForService(service)) {
         cacheProvider.getProviderCacheForType(Constants.IMAGE_CACHE).put(cacheKey, image.getId());
        }
View Full Code Here

Examples of org.jclouds.karaf.commands.table.ShellTable.display()

   }

   protected void printLocations(ComputeService computeService, PrintStream out) {
     ShellTable table = shellTableFactory.build("location");
     table.setDisplayData(getAllLocations(computeService));
     table.display(out, true, true);
   }

   protected Set<? extends Location> getAllLocations(ComputeService computeService) {
      Set<Location> all = new HashSet<Location>();
      for (Location loc : computeService.listAssignableLocations()) {
View Full Code Here

Examples of org.jitterbit.application.ui.viewer.error.ErrorLogEntryDisplayer.display()

        cp.asContentPaneFor(this);
    }

    private ErrorLogEntryDisplayer createDisplayer(ErrorLogEntry error) {
        ErrorLogEntryDisplayer ui = ExceptionDisplayerFactory.createDisplayer();
        ui.display(error);
        closeAction = new CloseAction();
        ui.setDisposeHandler(closeAction);
        return ui;
    }
View Full Code Here

Examples of org.jitterbit.application.ui.window.editor.service.EditorSelectorList.display()

        return false;
    }

    private void selectEditor(Direction dir) {
        EditorSelectorList selector = new EditorSelectorList(appWin.getEditorService());
        selector.display(dir);
    }
}
View Full Code Here

Examples of org.jitterbit.integration.activity.ui.component.page.ActivityPageManager.display()

        new BusyWorker(waitService) {

            @Override
            protected void doWork() {
                ActivityPageManager displayer = getActivityPageManager();
                displayer.display(subject);
            }
        }.run();
    }

    private synchronized ActivityPageManager getActivityPageManager() {
View Full Code Here

Examples of org.jitterbit.integration.client.plugin.ui.pipeline.PipelinePluginListDisplayer.display()

        }

        private PipelinePluginListDisplayer createList(PipelinePluginManifest[] plugins) {
            PipelinePluginListDisplayer list = new PipelinePluginListDisplayer();
            list.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
            list.display(plugins);
            return list;
        }

        public PipelinePluginManifest select() {
            impl.show();
View Full Code Here

Examples of org.jitterbit.integration.client.ui.project.ProjectDisplayer.display()

        @Override
        public void unpackingCompleted(IntegrationProject project) {
            viewManager.addViewManagerListener(this);
            ProjectDisplayer displayer = new ProjectDisplayer(viewManager, projectManager, project);
            displayer.display();
            externalCallback.unpackingCompleted(project);
        }

        @Override
        public void unpackingFailed(String message, Throwable th) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.