public class LogicProgrammingState extends KahinaState
Modifier and Type | Field and Description |
---|---|
protected LogicProgrammingProfile |
profile |
consoleLines, consoleMessages, kahina, matchCountByBreakpoint, warnThresholdByBreakpoint
Constructor and Description |
---|
LogicProgrammingState(KahinaInstance<?,?,?,?> kahina) |
Modifier and Type | Method and Description |
---|---|
void |
addConsoleLineRefForStep(int stepID,
KahinaLineReference ref) |
void |
breakpointConsoleMessage(int stepID,
java.lang.String message) |
void |
consoleMessage(int stepID,
int extID,
int port,
java.lang.String message) |
void |
consoleMessage(LogicProgrammingLineReference ref) |
void |
exceptionConsoleMessage(int stepID,
int extID,
java.lang.String message) |
LogicProgrammingStep |
get(int id)
Shortcut for quick access to step data; should be overriden in the obvios way for custom step types.
|
LogicProgrammingLineReference |
getConsoleLineRefForStep(int stepID) |
LogicProgrammingProfile |
getFullProfile() |
java.util.Set<java.lang.Integer> |
getHiddenSteps() |
java.util.List<java.lang.Integer> |
getLinkAnchors(int target) |
java.lang.Integer |
getLinkTarget(int anchor) |
KahinaTree |
getSecondaryStepTree() |
KahinaTree |
getStepTree() |
void |
hideStep(int stepID)
Calling this method indicates that a step should be hidden in the main
tree view because it was skipped over and nevertheless reported by the
logic programming system because it is "unskippable".
|
void |
initialize() |
void |
linkNodes(int anchor,
int target) |
consoleMessage, getConsoleMessages, getLineReferencesForStep, getMatchCountByBreakpoint, getSelectedStepID, getStepCount, getSteps, getWarnThresholdByBreakpoint, loadSteps, nextStepID, processEvent, processSelection, retrieve, store
protected LogicProgrammingProfile profile
public LogicProgrammingState(KahinaInstance<?,?,?,?> kahina)
public void initialize()
initialize
in class KahinaState
public void breakpointConsoleMessage(int stepID, java.lang.String message)
public void consoleMessage(int stepID, int extID, int port, java.lang.String message)
public void exceptionConsoleMessage(int stepID, int extID, java.lang.String message)
public void consoleMessage(LogicProgrammingLineReference ref)
public LogicProgrammingLineReference getConsoleLineRefForStep(int stepID)
public void addConsoleLineRefForStep(int stepID, KahinaLineReference ref)
public KahinaTree getStepTree()
public KahinaTree getSecondaryStepTree()
public void linkNodes(int anchor, int target)
public java.lang.Integer getLinkTarget(int anchor)
public java.util.List<java.lang.Integer> getLinkAnchors(int target)
public LogicProgrammingProfile getFullProfile()
public void hideStep(int stepID)
stepID
- public java.util.Set<java.lang.Integer> getHiddenSteps()
public LogicProgrammingStep get(int id)
KahinaState
get
in class KahinaState