public void customExceptionOccurred(Exception exception) { jcc.setStatusText("Copy error: "+sel1+" to: "+sel2+" exception: "+exception.getMessage()); ((ITreeNode)sp2.getLastPathComponent()).refresh(true); } });
public void customFinished() { jcc.setStatusText("Copied: "+sel1+" to "+sel2); ((ITreeNode)sp2.getLastPathComponent()).refresh(true); }
public void customFinished() { jcc.setStatusText("Copied: "+sel1+" to "+sel2); ((ITreeNode)sp2.getLastPathComponent()).refresh(true); }
public void customExceptionOccurred(Exception exception) { jcc.setStatusText("Copy error: "+sel1+" to: "+sel2+" exception: "+exception.getMessage()); ((ITreeNode)sp2.getLastPathComponent()).refresh(true); } });
@Override protected void expandChildren(boolean dorecurse, List<ITreeNode> children) { if(dorecurse && TreeExpansionHandler.isTreeExpanded(tree, new TreePath(model.buildTreePath(AbstractSwingTreeNode.this).toArray()))) { for(int i=0; children!=null && i<children.size(); i++) { ((ITreeNode)children.get(i)).refresh(dorecurse); } } }
/** * Refersh a subtree. */ public void refreshTreePaths(TreePath[] paths) { FileTransferServiceViewerPanel dvp = (FileTransferServiceViewerPanel)getCurrentPanel(); if(dvp!=null) { if(paths==null) paths = dvp.getFileTreePanel().getTree().getSelectionPaths(); for(int i=0; paths!=null && i<paths.length; i++) { ((ITreeNode)paths[i].getLastPathComponent()).refresh(true); } } }
/** * Refersh a subtree. */ public void refreshTreePaths(TreePath[] paths) { DeploymentServiceViewerPanel dvp = (DeploymentServiceViewerPanel)getCurrentPanel(); if(dvp!=null) { if(paths==null) paths = dvp.getFileTreePanel().getTree().getSelectionPaths(); for(int i=0; paths!=null && i<paths.length; i++) { ((ITreeNode)paths[i].getLastPathComponent()).refresh(true); } } }