Package org.qdl_lang.sas
Class QDLSASTerminal
- java.lang.Object
-
- org.qdl_lang.gui.SwingTerminal
-
- org.qdl_lang.sas.QDLSASTerminal
-
- All Implemented Interfaces:
edu.uiuc.ncsa.sas.SASConstants,TerminalInterface,QDLSASConstants
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 classQDLSASTerminal.QDLSASHistoryKeyAdapterclassQDLSASTerminal.QDLSASKeyCharAdapter-
Nested classes/interfaces inherited from class org.qdl_lang.gui.SwingTerminal
SwingTerminal.QDLHistoryKeyAdapter
-
-
Field Summary
-
Fields inherited from class org.qdl_lang.gui.SwingTerminal
frame, syntaxEditStyle
-
Fields inherited from interface org.qdl_lang.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 voidinit()Initialize this with internal state, such as the listeners andDataforQDLSwingIO.static voidmain(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 voidprocessResponse(edu.uiuc.ncsa.sas.thing.response.Response response)protected voidsetupListeners()This is called in theSwingTerminal.setup(JFrame, List)method.protected voidsetupSAS(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)protected static voidshowHelp()-
Methods inherited from class org.qdl_lang.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:SwingTerminalThis is called in theSwingTerminal.setup(JFrame, List)method. Override as needed.- Overrides:
setupListenersin classSwingTerminal
-
init
protected void init()
Description copied from class:SwingTerminalInitialize this with internal state, such as the listeners andDataforQDLSwingIO. Should be called in constructor.- Overrides:
initin 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)
-
-