Package org.rhq.coregui.client

Examples of org.rhq.coregui.client.ViewChangedException


    protected abstract void loadSelectedItem(int itemId, ViewPath viewPath);

    protected void updateTabContent(T selectedItem, boolean isRefresh) {
        String currentViewPath = History.getToken();
        if (!currentViewPath.startsWith(this.baseViewPath)) {
            throw new ViewChangedException(this.baseViewPath + "/" + getSelectedItemId());
        }
    }
View Full Code Here


     * @param resources
     * @return
     */
    public static TreeNode[] buildNodes(List<Resource> resources, List<Resource> lockedData, TreeGrid treeGrid) {
        if (treeGrid == null || treeGrid.getTree() == null) {
            throw new ViewChangedException(ResourceTopView.VIEW_ID.getName() + "/*");
        }

        List<ResourceTreeNode> resourceNodes = new ArrayList<ResourceTreeNode>(resources.size());
        for (Resource resource : resources) {
            ResourceTreeNode node = new ResourceTreeNode(resource, lockedData.contains(resource));
View Full Code Here

TOP

Related Classes of org.rhq.coregui.client.ViewChangedException

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.