Package org.jdesktop.wonderland.front.admin

Examples of org.jdesktop.wonderland.front.admin.AdminRegistration$RegistrationFilter


        throws ServletException, IOException
    {
        String pageURL = request.getParameter("pageURL");
        if (pageURL == null) {
            String page = request.getParameter("page");
            AdminRegistration ae = mapPage(page);
            if (ae != null) {
                pageURL = ae.getUrl();
            }
        }
       
        if (pageURL == null) {
            pageURL = DEFAULT_PAGE_URL;
View Full Code Here


        List<AdminRegistration> registry = new ArrayList<AdminRegistration>();
        List<StatusPageRegistration> statusRegistry = new ArrayList<StatusPageRegistration>();
        List<FrontPageRegistration> frontRegistry = new ArrayList<FrontPageRegistration>();

        // add the home item to the top of the list
        AdminRegistration home = new AdminRegistration("home", "Home",
                                           "/wonderland-web-front");
        home.setAbsolute(true);
        home.setPosition(0);
        registry.add(home);
       
        // add other built-in registrations
        AdminRegistration runner = new AdminRegistration("runner",
                "Manage Server", "/wonderland-web-runner");
        runner.setFilter(AdminRegistration.ADMIN_FILTER);
        runner.setPosition(1);
        registry.add(runner);

        // Register the module management page. This needs to happen here because
        // there is no forced order of installation for things in web/, and
        // front/ needs to be installed before modules/ and that currently
        // cannot be guaranteed.
        AdminRegistration modules = new AdminRegistration("modules",
                "Manage Modules", "/wonderland-web-modules/editor");
        modules.setFilter(AdminRegistration.ADMIN_FILTER);
        registry.add(modules);

        // Register the client properties management page
        AdminRegistration client = new AdminRegistration("client",
                "Client Settings", "/wonderland-web-front/config/settings");
        client.setFilter(AdminRegistration.ADMIN_FILTER);
        registry.add(client);

        // add the registry to the context
        ServletContext sc = sce.getServletContext();
        sc.setAttribute(AdminRegistration.ADMIN_REGISTRY_PROP, registry);
View Full Code Here

    public void contextInitialized(ServletContextEvent sce) {
        context = sce.getServletContext();

        // register with the UI
        AdminRegistration ar = new AdminRegistration("Error Reports",
                                                     "/error-report/error-report/ErrorReports.html");
        ar.setFilter(AdminRegistration.ADMIN_FILTER);
        AdminRegistration.register(ar, context);
        context.setAttribute(ERROR_REPORT_KEY, ar);
       
        // try to create the library path
        tryRepo();
View Full Code Here

        // try to create the library path
        tryRepo();
    }

    public void contextDestroyed(ServletContextEvent sce) {
        AdminRegistration ar = (AdminRegistration) context.getAttribute(ERROR_REPORT_KEY);
        if (ar != null) {
            AdminRegistration.unregister(ar, context);
        }
       
        Timer timer = (Timer) context.getAttribute(TIMER_KEY);
View Full Code Here

        // add ourselves as a listener for when the Darkstar server changes
        DarkstarWebLoginFactory.getInstance().addDarkstarServerListener(this);

        // register with the UI
        ar = new AdminRegistration("Manage Groups",
                                   "/security-groups/security-groups/editor");
        ar.setFilter(AdminRegistration.ADMIN_FILTER);
        AdminRegistration.register(ar, this.context);
    }
View Full Code Here

    }// </editor-fold>

    public void contextInitialized(ServletContextEvent sce) {
        // register with the admininstration page
        context = sce.getServletContext();
        ar = new AdminRegistration("Manage Apps",
                                   "/xapps-config/wonderland-xapps-config/browse");
        ar.setFilter(AdminRegistration.ADMIN_FILTER);
        AdminRegistration.register(ar, context);

        // add ourselves as a listener for when the Darkstar server changes
View Full Code Here

        ServletContext context = sce.getServletContext();
       
        pdc = new PingDataCollector();
        context.setAttribute(PingDataCollector.KEY, pdc);
   
        ar = new AdminRegistration("Monitor Server",
                                   "/servermanager/servermanager-web");
        ar.setFilter(AdminRegistration.ADMIN_FILTER);
        AdminRegistration.register(ar, context);
    }
View Full Code Here

        return "Short description";
    }// </editor-fold>

    public void contextInitialized(ServletContextEvent sce) {
        // register with web admin
        reg = new AdminRegistration("Manage Worlds",
                                    "/snapshot-manager/snapshot/SnapshotManager");
        reg.setFilter(AdminRegistration.ADMIN_FILTER);
        AdminRegistration.register(reg, sce.getServletContext());
       
        statusRegistry = new StatusPageRegistration("/snapshot-manager/snapshot", "/current.jspf");
View Full Code Here

    }// </editor-fold>

    public void contextInitialized(ServletContextEvent sce) {
        // register with the admininstration page
        ServletContext sc = sce.getServletContext();
        ar = new AdminRegistration("Manage Content",
                                   "/content-repository/wonderland-content-repository/browse");
        ar.setFilter(AdminRegistration.ADMIN_FILTER);
        AdminRegistration.register(ar, sc);
    }
View Full Code Here

    }// </editor-fold>

    public void contextInitialized(ServletContextEvent sce) {
        // register with the admininstration page
        context = sce.getServletContext();
        ar = new AdminRegistration("Edit Placemarks",
                                   "/placemarks/wonderland-placemarks/browse");
        ar.setFilter(AdminRegistration.ADMIN_FILTER);
        AdminRegistration.register(ar, context);

        // add ourselves as a listener for when the Darkstar server changes
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.front.admin.AdminRegistration$RegistrationFilter

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.