public class KahinaGUI extends java.lang.Object implements KahinaListener
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<KahinaControlButton>> |
controlWindows |
protected KahinaInstance<?,?,?,?> |
kahina |
protected java.util.Set<KahinaView<?>> |
livingViews |
protected KahinaTextView |
messageConsoleView |
protected java.util.Map<java.lang.String,KahinaView<? extends KahinaObject>> |
varNameToView |
protected java.util.List<KahinaView<?>> |
views |
protected KahinaWindowManager |
windowManager |
Constructor and Description |
---|
KahinaGUI(java.lang.Class<? extends KahinaStep> stepType,
KahinaInstance<?,?,?,?> kahina) |
Modifier and Type | Method and Description |
---|---|
void |
addControlButton(java.lang.String windowTitle,
java.lang.String iconFilePath,
java.lang.String command,
java.lang.String toolTipText,
int mnemonic) |
ProgressMonitorWrapper |
createProgressMonitorWrapper(java.lang.String message,
java.lang.String note,
int min,
int max) |
protected KahinaWindowManager |
createWindowManager() |
void |
displayMainViews() |
void |
displayStepContent(int stepID) |
protected void |
fillFieldToView(java.lang.Class<? extends KahinaStep> stepType,
KahinaInstance<?,?,?,?> kahina)
overwrite this to specify a non-standard mapping from step properties to views
|
KahinaPerspective |
generateInitialPerspective() |
KahinaInstance<?,?,?,?> |
getKahinaInstance() |
KahinaMainWindow |
getMainWindow() |
java.lang.String |
getNewGrammarString()
Defines the title of the program file chooser while creating a new project.
|
KahinaPerspective |
getPerspective() |
KahinaView<? extends KahinaObject> |
getViewByID(java.lang.String viewID) |
KahinaWindowManager |
getWindowManager() |
protected void |
initialize() |
void |
integrateWindows(int integrationType,
int window1ID,
int window2ID,
java.lang.String newTitle) |
void |
prepare() |
protected void |
processDialogEvent(KahinaDialogEvent e) |
void |
processEvent(KahinaEvent e) |
void |
setPerspective(KahinaPerspective perspective) |
void |
show() |
int |
showConfirmDialog(java.lang.Object message,
java.lang.String title,
int optionType) |
void |
showMessageDialog(java.lang.Object message,
java.lang.String title,
int messageType) |
protected final KahinaInstance<?,?,?,?> kahina
public java.util.Map<java.lang.String,java.util.List<KahinaControlButton>> controlWindows
protected KahinaTextView messageConsoleView
protected java.util.List<KahinaView<?>> views
protected KahinaWindowManager windowManager
protected java.util.Set<KahinaView<?>> livingViews
protected java.util.Map<java.lang.String,KahinaView<? extends KahinaObject>> varNameToView
public KahinaGUI(java.lang.Class<? extends KahinaStep> stepType, KahinaInstance<?,?,?,?> kahina)
protected void initialize()
protected void fillFieldToView(java.lang.Class<? extends KahinaStep> stepType, KahinaInstance<?,?,?,?> kahina)
stepType
- public KahinaInstance<?,?,?,?> getKahinaInstance()
public KahinaPerspective getPerspective()
public void setPerspective(KahinaPerspective perspective)
public KahinaMainWindow getMainWindow()
public void addControlButton(java.lang.String windowTitle, java.lang.String iconFilePath, java.lang.String command, java.lang.String toolTipText, int mnemonic)
public void integrateWindows(int integrationType, int window1ID, int window2ID, java.lang.String newTitle)
public void prepare()
public KahinaWindowManager getWindowManager()
protected KahinaWindowManager createWindowManager()
public final void show()
public void displayMainViews()
public void displayStepContent(int stepID)
public void processEvent(KahinaEvent e)
processEvent
in interface KahinaListener
public KahinaPerspective generateInitialPerspective()
protected void processDialogEvent(KahinaDialogEvent e)
public ProgressMonitorWrapper createProgressMonitorWrapper(java.lang.String message, java.lang.String note, int min, int max)
public int showConfirmDialog(java.lang.Object message, java.lang.String title, int optionType)
public void showMessageDialog(java.lang.Object message, java.lang.String title, int messageType)
public java.lang.String getNewGrammarString()
public KahinaView<? extends KahinaObject> getViewByID(java.lang.String viewID)