private void showParameterHelp(final QualifiedName selectedItem,
final CompletionPopupDisplay display)
{
final String name = selectedItem.name.replaceAll("\\s*=\\s*$", "");
ParsedInfo cachedHelp = cache_.get(selectedItem);
if (cachedHelp != null)
{
doShowParameterHelp(cachedHelp, name, display);
return;
}
server_.getHelp(selectedItem.pkgName,
null,
RCompletionType.ARGUMENTS,
new ServerRequestCallback<HelpInfo>() {
@Override
public void onError(ServerError error)
{
display.clearHelp(false) ;
}
@Override
public void onResponseReceived(HelpInfo response)
{
if (response != null)
{
ParsedInfo info = response.parse(selectedItem.pkgName);
cache_.put(selectedItem, info);
doShowParameterHelp(info, name, display);
}
else
{