Package edu.uiuc.ncsa.qdl.sas
Class QDLSASTerminal
- java.lang.Object
-
- edu.uiuc.ncsa.qdl.gui.SwingTerminal
-
- edu.uiuc.ncsa.qdl.sas.QDLSASTerminal
-
- All Implemented Interfaces:
TerminalInterface
,QDLSASConstants
,edu.uiuc.ncsa.sas.SASConstants
public class QDLSASTerminal extends SwingTerminal implements QDLSASConstants
Created by Jeff Gaynor
on 8/26/22 at 9:16 AM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
QDLSASTerminal.QDLSASHistoryKeyAdapter
class
QDLSASTerminal.QDLSASKeyCharAdapter
-
Nested classes/interfaces inherited from class edu.uiuc.ncsa.qdl.gui.SwingTerminal
SwingTerminal.QDLHistoryKeyAdapter
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.qdl.gui.SwingTerminal
frame, syntaxEditStyle
-
Fields inherited from interface edu.uiuc.ncsa.qdl.sas.QDLSASConstants
ACTION_BUFFER_SAVE, ACTION_GET_HELP_TOPIC, ACTION_LIST_FUNCTIONS, KEY_EDIT_ALIAS, KEY_EDIT_ARG_STATE, KEY_EDIT_OBJECT_TYPE, KEY_EDIT_OBJECT_TYPE_BUFFER, KEY_EDIT_OBJECT_TYPE_FILE, KEY_EDIT_OBJECT_TYPE_FUNCTION, KEY_EDIT_OBJECT_TYPE_VARIABLE, KEY_FUNCTION_HELP, KEY_FUNCTION_LIST, KEY_HELP_EXAMPLE, RESPONSE_BUFFER_SAVE, RESPONSE_TYPE_EDIT, RESPONSE_TYPE_GET_HELP_TOPIC, RESPONSE_TYPE_LIST_FUNCTIONS
-
Fields inherited from interface edu.uiuc.ncsa.sas.SASConstants
ACTION_EXECUTE, ACTION_INVOKE, ACTION_LOGOFF, ACTION_LOGON, ACTION_NEW_KEY, CLIENT_ID_HEAD, HEADER_SESSION_ID, KEYS_ACTION, KEYS_ARGUMENT, KEYS_COMMENT, KEYS_EXECUTABLE_NAME, KEYS_INTERNAL_ID, KEYS_METHOD, KEYS_PROMPT, KEYS_SAS, KEYS_STATE, KEYS_SUBJECT, KEYS_SUBJECT_ID, KEYS_SUBJECT_SESSION_ID, KEYS_TYPE, REQUEST_TYPE, RESPONSE_CONTENT, RESPONSE_MESSAGE, RESPONSE_PROMPT, RESPONSE_SESSION_ID, RESPONSE_STATUS, RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK, RESPONSE_SYMMETRIC_KEY, RESPONSE_TYPE, RESPONSE_TYPE_ERROR, RESPONSE_TYPE_LOGOFF, RESPONSE_TYPE_LOGON, RESPONSE_TYPE_NEW_KEY, RESPONSE_TYPE_OUTPUT, RESPONSE_TYPE_PROMPT
-
-
Constructor Summary
Constructors Constructor Description QDLSASTerminal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init()
Initialize this with internal state, such as the listeners andData
forQDLSwingIO
.static void
main(String[] args)
If this is started with the -new flag (may or may not have an argument that is the file name) then the user will be prompted at the command line to create a new configuration and then asked if they want to start the system.protected void
processResponse(edu.uiuc.ncsa.sas.thing.response.Response response)
protected void
setupListeners()
This is called in theSwingTerminal.setup(JFrame, List)
method.protected void
setupSAS(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
protected static void
showHelp()
-
Methods inherited from class edu.uiuc.ncsa.qdl.gui.SwingTerminal
$$$getRootComponent$$$, clearCurrentLine, getCharMap, getCurrentLine, getInput, getMainPanel, getOutput, getPanel1, getPrompt, getQdlSwingIO, getResultText, getWorkspaceCommands, runQDL, setPrompt, setResultText, setup, setupWS, setWorkspaceCommands, showHelp, shutdown
-
-
-
-
Method Detail
-
setupListeners
protected void setupListeners()
Description copied from class:SwingTerminal
This is called in theSwingTerminal.setup(JFrame, List)
method. Override as needed.- Overrides:
setupListeners
in classSwingTerminal
-
init
protected void init()
Description copied from class:SwingTerminal
Initialize this with internal state, such as the listeners andData
forQDLSwingIO
. Should be called in constructor.- Overrides:
init
in classSwingTerminal
-
showHelp
protected static void showHelp()
-
main
public static void main(String[] args) throws Throwable
If this is started with the -new flag (may or may not have an argument that is the file name) then the user will be prompted at the command line to create a new configuration and then asked if they want to start the system.- Parameters:
args
-- Throws:
Throwable
-
setupSAS
protected void setupSAS(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) throws Throwable
- Throws:
Throwable
-
processResponse
protected void processResponse(edu.uiuc.ncsa.sas.thing.response.Response response)
-
-