Package org.jboss.as.console.client.domain.events

Examples of org.jboss.as.console.client.domain.events.HostSelectionEvent


    private void selectDefaultHost(List<Host> hosts) {
        String name = hosts.get(0).getName();
        Log.debug("Default host selection: " + name);
        hostSelection.setName(name);
        getEventBus().fireEvent(new HostSelectionEvent(name));
    }
View Full Code Here


                    Scheduler.get().scheduleDeferred(
                            new Scheduler.ScheduledCommand() {
                                @Override
                                public void execute() {
                                    Console.getEventBus().fireEvent(
                                            new HostSelectionEvent(event.getValue())
                                    );
                                }
                            });
                }
            }
View Full Code Here

    public void onServerSelected(Host host, ServerInstance server) {

        //System.out.println("** Fire " + host.getName()+"/"+server.getName());

        Console.MODULES.getEventBus().fireEvent(
                new HostSelectionEvent(host.getName())
        );

        Console.MODULES.getEventBus().fireEvent(
                new ServerSelectionEvent(host.getName(), server)
        );
View Full Code Here

    private void selectDefaultHost(List<Host> hosts) {
        String name = hosts.get(0).getName();
        System.out.println("Default host selection: "+name);
        hostSelection.setName(name);
        getEventBus().fireEvent(new HostSelectionEvent(name));
    }
View Full Code Here

            public void onValueChange(final ValueChangeEvent<String> event) {

                Scheduler.get().scheduleEntry(new Scheduler.ScheduledCommand() {
                    @Override
                    public void execute() {
                        Console.MODULES.getEventBus().fireEvent(new HostSelectionEvent(event.getValue()));
                    }
                });
            }
        });
View Full Code Here

        Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() {
            @Override
            public void execute() {
                Console.MODULES.getEventBus().fireEvent(
                        new HostSelectionEvent(host.getName())
                );

                Console.MODULES.getEventBus().fireEvent(
                        new ServerSelectionEvent(host.getName(), server)
                );
View Full Code Here

                if (!event.getValue().isEmpty()) {
                    Scheduler.get().scheduleEntry(new Scheduler.ScheduledCommand() {
                        @Override
                        public void execute() {
                            Console.getEventBus().fireEvent(
                                    new HostSelectionEvent(event.getValue())
                            );
                        }
                    });
                }
            }
View Full Code Here

                if(result.isEmpty())
                {
                    // no server on host. some operation are not available
                    Console.getEventBus().fireEvent(
                            new HostSelectionEvent(selectedHost.getName())
                    );

                }
            }
        });
View Full Code Here

    private void selectDefaultHost(List<Host> hosts) {
        String name = hosts.get(0).getName();
        Log.debug("Default host selection: " + name);
        hostSelection.setName(name);
        getEventBus().fireEvent(new HostSelectionEvent(name));
    }
View Full Code Here

                if (!event.getValue().isEmpty()) {
                    Scheduler.get().scheduleEntry(new Scheduler.ScheduledCommand() {
                        @Override
                        public void execute() {
                            Console.MODULES.getEventBus().fireEvent(
                                    new HostSelectionEvent(event.getValue())
                            );
                        }
                    });
                }
            }
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.domain.events.HostSelectionEvent

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.