public IModule[] getRootModules(IModule module) throws CoreException { IStatus status = canModifyModules(new IModule[] {module}, null); if (status != null && !status.isOK()) throw new CoreException(status); IModule[] parents = ServerModelUtilities.getParentModules(getServer(), module); if (parents.length > 0) return parents; return new IModule[] {module}; }
public IModule[] getChildModules(IModule[] module) { return ServerModelUtilities.getChildModules(module); }