Examples of ViewPath


Examples of com.pcmsolutions.system.paths.ViewPath

        };
    }

    public static ViewInstance provideMasterView(final DeviceContext device) {
        final DesktopName name = new DesktopName(MasterEnclosurePanel.class, PathFactory.provideMasterPath(device));
        final ViewPath vp = new ViewPath(ZDesktopManager.dockMASTER, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    MasterEnclosurePanel mep = new MasterEnclosurePanel();
                    mep.init(device);
View Full Code Here

Examples of org.rhq.coregui.client.ViewPath

                        setContent(bundleSectionView);
                    }
                } else {
                    // we are navigating to bundle detail or bundle group detail
                    String currentPath = viewPath.getCurrent().getPath();
                    ViewPath nextViewPath = viewPath.next(); // the ID segment

                    if ("Bundle".equals(currentPath)) {
                        // set new bundle detail if we are changing detail
                        if (!nextViewPath.getCurrent().equals(currentBundleViewId)) {
                            // only  cache the bundle id if bundle detail is the target view
                            currentBundleViewId = nextViewPath.isEnd() ? nextViewPath.getCurrent() : null;
                            bundleView = new BundleView(globalPermissions);
                            bundleGroupView = null;
                            currentBundleGroupViewId = null;
                        }
                        setContent(bundleView);
                        bundleView.renderView(nextViewPath);

                    } else if ("BundleGroup".equals(currentPath)) {
                        // set new bundle detail if we are changing detail
                        if (!nextViewPath.getCurrent().equals(currentBundleGroupViewId)) {
                            // only  cache the bundle id if bundle detail is the target view                           
                            currentBundleGroupViewId = nextViewPath.isEnd() ? nextViewPath.getCurrent() : null;
                            bundleGroupView = new BundleGroupEditView(globalPermissions, Integer.parseInt(nextViewPath
                                .getCurrent().getPath()));
                            bundleView = null;
                            currentBundleViewId = null;
                        }
                        setContent(bundleGroupView);
View Full Code Here

Examples of org.rhq.coregui.client.ViewPath

                    if (key.endsWith("deployments")) {
                        theTree.openFolders(theTree.getChildren(node));
                    }
                } else {
                    // wait for data to get loaded...
                    pendingPath = new ViewPath(viewPath.toString());
                    return;
                }
            }

            // we found the node, so keep going
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.