public boolean select( Viewer viewer, Object parentElement, Object element ) { if ( element instanceof ServerInfo ) { ServerInfo server = ( ServerInfo ) element; if ( matches( server.getNetwork() ) ) return true; return false; } if ( element instanceof ResultInfo ) { ResultInfo result = ( ResultInfo ) element; if ( matches( result.getNetwork() ) ) return true; return false; } if ( element instanceof FileInfo ) { FileInfo fileInfo = ( FileInfo ) element; if ( matches( fileInfo.getNetwork() ) ) return true; return false; } return true; }
public boolean select(Viewer viewer, Object parentElement, Object element) { if (element instanceof ServerInfo) { ServerInfo server = (ServerInfo) element;  if (matches(server.getNetwork())) { return true; }  return false; } else if (element instanceof ResultInfo) { ResultInfo result = (ResultInfo) element;  if (matches(result.getNetwork())) { return true; }  return false; } else if (element instanceof FileInfo) { FileInfo fileInfo = (FileInfo) element;  if (matches(fileInfo.getNetwork())) { return true; }  return false; } else if (element instanceof ClientInfo) { ClientInfo clientInfo = (ClientInfo) element;  if (matches(clientInfo.getClientnetworkid())) { return true; }  return false; }  return true; }
	public boolean select( Viewer viewer, Object parentElement, Object element ) {		if ( element instanceof ServerInfo ) {			ServerInfo server = ( ServerInfo ) element;			if ( matches( server.getNetwork() ) )			   return true;			return false;		}		if ( element instanceof ResultInfo ) {			ResultInfo result = ( ResultInfo ) element;			if ( matches( result.getNetwork() ) )				return true;			return false;		}		if ( element instanceof FileInfo ) {			FileInfo fileInfo = ( FileInfo ) element;			if ( matches( fileInfo.getNetwork() ) )				return true;			return false;		}		return true;	}