External URL help added for PY-11855

This commit is contained in:
Ilya.Kazakevich
2015-03-24 19:52:09 +03:00
parent 80d3f386d1
commit dc8dd99468
16 changed files with 167 additions and 72 deletions
@@ -6,6 +6,7 @@ import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
import com.jetbrains.commandInterface.commandLine.CommandLinePart;
import com.jetbrains.commandInterface.command.Argument;
import com.jetbrains.commandInterface.command.Help;
import com.jetbrains.commandInterface.command.Option;
public interface CommandLineArgument extends CommandLinePart {
@@ -23,6 +24,6 @@ public interface CommandLineArgument extends CommandLinePart {
Argument findRealArgument();
@Nullable
String findBestHelpText();
Help findBestHelp();
}
@@ -11,6 +11,7 @@ import static com.jetbrains.commandInterface.commandLine.CommandLineElementTypes
import com.jetbrains.commandInterface.commandLine.CommandLineElement;
import com.jetbrains.commandInterface.commandLine.psi.*;
import com.jetbrains.commandInterface.command.Argument;
import com.jetbrains.commandInterface.command.Help;
import com.jetbrains.commandInterface.command.Option;
public class CommandLineArgumentImpl extends CommandLineElement implements CommandLineArgument {
@@ -47,8 +48,8 @@ public class CommandLineArgumentImpl extends CommandLineElement implements Comma
}
@Nullable
public String findBestHelpText() {
return CommandLinePsiImplUtils.findBestHelpText(this);
public Help findBestHelp() {
return CommandLinePsiImplUtils.findBestHelp(this);
}
}