public class MUCInstance extends KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
Modifier and Type | Field and Description |
---|---|
static boolean |
CFG_FILTER |
bridge, defaultPerspectives, defaultProjects, gui, instanceControl, logger, project, recentPerspectives, recentProjects, sessionControl, state, steps, VERBOSE
Constructor and Description |
---|
MUCInstance() |
Modifier and Type | Method and Description |
---|---|
protected KahinaBridge |
createBridge() |
protected MUCGUI |
createGUI() |
protected KahinaProject |
createNewProject() |
protected MUCState |
createState() |
protected void |
createTreeBehavior() |
java.lang.String |
getApplicationName() |
CnfSatInstance |
getSatInstance() |
KahinaProject |
loadProject(java.io.InputStream stream) |
void |
loadSATFile(java.io.File satFile) |
static void |
main(java.lang.String[] args) |
protected void |
preparePerspectiveLists() |
protected void |
prepareProjectLists() |
void |
processEvent(KahinaEvent e) |
protected void |
processNewProject() |
void |
start(java.lang.String[] args)
Writing a main method for a Kahina-based debugging environment is simple:
just create an instance of your KahinaInstance subclass and pass its
start method the arguments.
|
void |
startNewSessionWithoutBridge() |
deregisterInstanceListener, deregisterSessionListener, dispatchEvent, dispatchInstanceEvent, dispatchSessionEvent, fillViewRegistry, getBridge, getGUI, getLogger, getProject, getProjectStatus, getState, initializeNewSession, loadPerspective, loadProject, newProject, processProjectEvent, registerInstanceListener, registerRecentPerspective, registerRecentProject, registerSessionListener, saveProjectAs, setProjectStatus, startNewSession
public static final boolean CFG_FILTER
public void startNewSessionWithoutBridge()
startNewSessionWithoutBridge
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
protected MUCState createState()
createState
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
protected KahinaBridge createBridge()
createBridge
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
protected MUCGUI createGUI()
createGUI
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
public java.lang.String getApplicationName()
getApplicationName
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
protected void processNewProject()
processNewProject
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
public KahinaProject loadProject(java.io.InputStream stream)
protected void createTreeBehavior()
createTreeBehavior
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
public CnfSatInstance getSatInstance()
public void loadSATFile(java.io.File satFile)
public void processEvent(KahinaEvent e)
processEvent
in interface KahinaListener
processEvent
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
public void start(java.lang.String[] args)
start
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
args
- public static void main(java.lang.String[] args)
protected KahinaProject createNewProject()
createNewProject
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
protected void prepareProjectLists()
prepareProjectLists
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>
protected void preparePerspectiveLists()
preparePerspectiveLists
in class KahinaInstance<MUCState,MUCGUI,KahinaBridge,KahinaProject>