String url = getMe().getParentPath(); IWContext iwc = IWContext.getInstance(); IWSlideSession ss = (IWSlideSession) IBOLookup.getSessionInstance(iwc, IWSlideSession.class); url = url.replaceFirst(ss.getWebdavServerURI(), ""); WebdavExtendedResource selectedNode = ss.getWebdavResource(url); parent = new WebDAVBean(selectedNode);
if (getMe() != null) { String url = getMe().getParentPath(); IWContext iwc = IWContext.getInstance(); IWSlideSession ss = (IWSlideSession) IBOLookup.getSessionInstance(iwc, IWSlideSession.class); url = url.replaceFirst(ss.getWebdavServerURI(), ""); WebdavExtendedResource selectedNode = ss.getWebdavResource(url); parent = new WebDAVBean(selectedNode); } else { parent = null; }
	public ICTreeNode getParentNode() {		if (parent == null) {			try {				String url = getMe().getParentPath();				IWContext iwc = IWContext.getInstance();				IWSlideSession ss = (IWSlideSession) IBOLookup.getSessionInstance(iwc, IWSlideSession.class);				url = url.replaceFirst(ss.getWebdavServerURI(), "");				WebdavExtendedResource selectedNode = ss.getWebdavResource(url);				parent = new WebDAVBean(selectedNode);			} catch (Exception e) {				e.printStackTrace();			}		}		return parent;	}