mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
External URL help added for PY-11855
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
+3
-2
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user