public class InterpreterTab extends GrammarWindowTab implements Runnable, AWTreePanelDelegate
| Modifier and Type | Class and Description |
|---|---|
class |
InterpreterTab.CustomInterpreter |
static class |
InterpreterTab.FilteringTokenStream |
class |
InterpreterTab.Refresh |
| Modifier and Type | Field and Description |
|---|---|
protected AWTreePanel |
awTreePanel |
protected JComboBox |
eolCombo |
protected JPanel |
panel |
protected XJDialogProgress |
progress |
protected JComboBox |
rulesCombo |
protected JSplitPane |
splitPane |
protected String |
startSymbol |
protected JTextPane |
textPane |
protected JScrollPane |
textScrollPane |
protected JLabel |
tokensToIgnoreLabel |
protected EditorInterpreterTreeModel |
treeModel |
window| Constructor and Description |
|---|
InterpreterTab(GrammarWindow window) |
| Modifier and Type | Method and Description |
|---|---|
void |
awake() |
void |
awTreeDidSelectTreeNode(TreeNode node,
boolean shiftKey) |
JPopupMenu |
awTreeGetContextualMenu() |
boolean |
canExportToBitmap() |
boolean |
canExportToEPS() |
void |
close() |
Box |
createControlPanel() |
JComboBox |
createEOLCombo() |
JComboBox |
createRulesPopUp() |
JButton |
createRunButton() |
Box |
createTokensToIgnoreField(Toolbar box) |
Container |
getContainer() |
GView |
getExportableGView() |
Component |
getTabComponent() |
String |
getTabName() |
void |
interpret() |
protected void |
process() |
void |
run() |
void |
runEnded() |
void |
setRules(List<ElementRule> rules) |
void |
updateIgnoreTokens(List<ElementRule> rules) |
void |
updateRulesCombo(List<ElementRule> rules) |
canExportToDOT, editorActivated, getDOTStringprotected JPanel panel
protected JSplitPane splitPane
protected JTextPane textPane
protected JScrollPane textScrollPane
protected EditorInterpreterTreeModel treeModel
protected AWTreePanel awTreePanel
protected JComboBox rulesCombo
protected JComboBox eolCombo
protected JLabel tokensToIgnoreLabel
protected XJDialogProgress progress
protected String startSymbol
public InterpreterTab(GrammarWindow window)
public void close()
public void awake()
public Box createControlPanel()
public JButton createRunButton()
public JComboBox createRulesPopUp()
public JComboBox createEOLCombo()
public Container getContainer()
public void setRules(List<ElementRule> rules)
public void updateRulesCombo(List<ElementRule> rules)
public void updateIgnoreTokens(List<ElementRule> rules)
public void interpret()
public void runEnded()
protected void process()
public boolean canExportToBitmap()
canExportToBitmap in class GrammarWindowTabpublic boolean canExportToEPS()
canExportToEPS in class GrammarWindowTabpublic GView getExportableGView()
getExportableGView in class GrammarWindowTabpublic String getTabName()
getTabName in class GrammarWindowTabpublic Component getTabComponent()
getTabComponent in class GrammarWindowTabpublic void awTreeDidSelectTreeNode(TreeNode node, boolean shiftKey)
awTreeDidSelectTreeNode in interface AWTreePanelDelegatepublic JPopupMenu awTreeGetContextualMenu()
awTreeGetContextualMenu in interface AWTreePanelDelegateCopyright © 2013. All rights reserved.