Package org.qdl_lang.gui.editor
Class QDLEditor
- java.lang.Object
-
- org.qdl_lang.gui.editor.QDLEditor
-
- Direct Known Subclasses:
QDLSASEditor
public class QDLEditor extends Object
A standalone editor for QDL. This can be invoked by the GUI.Created by Jeff Gaynor
on 8/10/22 at 1:36 PM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
QDLEditor.ControlOperations
class
QDLEditor.MyKeyAdapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
$$$getRootComponent$$$()
int
getArgState()
For functions, this is the number oif arguments, for variables it is a representation of various state flags.Map<String,String>
getCharMap()
UUID
getID()
String
getLocalName()
protected SwingTerminal
getSwingTerminal()
int
getType()
The type of object, as perEditDoneEvent
.WorkspaceCommands
getWorkspaceCommands()
protected void
init()
static void
main(String[] args)
void
setArgState(int argState)
void
setLocalName(String localName)
void
setType(int type)
void
setup()
void
setup(String content)
void
setWorkspaceCommands(WorkspaceCommands workspaceCommands)
-
-
-
Constructor Detail
-
QDLEditor
public QDLEditor(WorkspaceCommands workspaceCommands, String alias, int handle) throws HeadlessException
- Throws:
HeadlessException
-
QDLEditor
public QDLEditor()
-
QDLEditor
public QDLEditor(File file)
-
-
Method Detail
-
getSwingTerminal
protected SwingTerminal getSwingTerminal()
-
getWorkspaceCommands
public WorkspaceCommands getWorkspaceCommands()
-
setWorkspaceCommands
public void setWorkspaceCommands(WorkspaceCommands workspaceCommands)
-
getLocalName
public String getLocalName()
-
setLocalName
public void setLocalName(String localName)
-
getArgState
public int getArgState()
For functions, this is the number oif arguments, for variables it is a representation of various state flags.- Returns:
-
setArgState
public void setArgState(int argState)
-
getType
public int getType()
The type of object, as perEditDoneEvent
.- Returns:
-
setType
public void setType(int type)
-
getID
public UUID getID()
-
init
protected void init()
-
$$$getRootComponent$$$
public JComponent $$$getRootComponent$$$()
-
main
public static void main(String[] args)
-
setup
public void setup(String content)
-
-