public class TraleSLDInstance extends LogicProgrammingInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
Modifier and Type | Field and Description |
---|---|
javax.swing.Action |
COMPILE_ACTION |
javax.swing.Action |
PARSE_ACTION |
javax.swing.Action |
RESTART_ACTION |
bridge, defaultPerspectives, defaultProjects, gui, instanceControl, logger, project, recentPerspectives, recentProjects, sessionControl, state, steps
Constructor and Description |
---|
TraleSLDInstance() |
TraleSLDInstance(boolean withWorkbench) |
Modifier and Type | Method and Description |
---|---|
protected void |
compile(java.lang.String absolutePath) |
protected TraleSLDBridge |
createBridge() |
protected TraleSLDGUI |
createGUI() |
protected TraleProject |
createNewProject() |
protected TraleSLDState |
createState() |
protected void |
createTreeBehavior() |
protected void |
fillViewRegistry()
overwrite this to register views for user-defined datatypes MUST register
views for all data types use super.fillViewRegistry() in implementations
to register most basic views
|
java.lang.String |
getCommand() |
LogicProgrammingProfiler |
getProfiler() |
TraleProject |
loadProject(java.io.File file) |
static void |
main(java.lang.String[] args) |
void |
newProject(java.io.File theoryFile,
java.lang.String name) |
protected void |
parse(java.util.List<java.lang.String> words) |
protected void |
preparePerspectiveLists() |
protected void |
prepareProjectLists() |
void |
processEvent(KahinaEvent e) |
protected void |
processNewProject() |
TraleSLDBridge |
startNewSession() |
getBreakPoints, getCompletePoints, getCreepPoints, getFailPoints, getSkipPoints, getState, getWarnPoints, loadProject, newProject
deregisterInstanceListener, deregisterSessionListener, dispatchEvent, dispatchInstanceEvent, dispatchSessionEvent, getApplicationName, getBridge, getGUI, getLogger, getProject, getProjectStatus, initializeNewSession, loadPerspective, processProjectEvent, registerInstanceListener, registerRecentPerspective, registerRecentProject, registerSessionListener, saveProjectAs, setProjectStatus, start, startNewSessionWithoutBridge
public final javax.swing.Action COMPILE_ACTION
public final javax.swing.Action PARSE_ACTION
public final javax.swing.Action RESTART_ACTION
public TraleSLDInstance()
public TraleSLDInstance(boolean withWorkbench)
public TraleSLDBridge startNewSession()
startNewSession
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
public java.lang.String getCommand()
protected void createTreeBehavior()
createTreeBehavior
in class LogicProgrammingInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected TraleSLDBridge createBridge()
createBridge
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected TraleSLDGUI createGUI()
createGUI
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected TraleSLDState createState()
createState
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected void fillViewRegistry()
KahinaInstance
fillViewRegistry
in class LogicProgrammingInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
public void processEvent(KahinaEvent e)
processEvent
in interface KahinaListener
processEvent
in class LogicProgrammingInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected void compile(java.lang.String absolutePath)
protected void parse(java.util.List<java.lang.String> words)
public LogicProgrammingProfiler getProfiler()
getProfiler
in class LogicProgrammingInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
public static void main(java.lang.String[] args)
protected TraleProject createNewProject()
createNewProject
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
public TraleProject loadProject(java.io.File file)
loadProject
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected void prepareProjectLists()
prepareProjectLists
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected void preparePerspectiveLists()
preparePerspectiveLists
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
public void newProject(java.io.File theoryFile, java.lang.String name)
newProject
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>
protected void processNewProject()
processNewProject
in class KahinaInstance<TraleSLDState,TraleSLDGUI,TraleSLDBridge,TraleProject>