void showDialog(Program theProgram, Variable theVariable) {
        this.program = theProgram;
        String type = (theVariable instanceof Parameter) ? "Parameter" : "Local Variable";
		setTitle("Set " + type + " Comment: "+ theVariable.getName()); 
        setHelpLocation(new HelpLocation(plugin.getName(), "Edit_Variable_Comment"));
		this.variable = theVariable;
        showDialog(theVariable.getComment());
    }
Display this dialog.
 
@param theVariable The variable for which to show the comment.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/VariableCommentDialog.java