org.jzuul.gdk.swt
Class DialogEditorDialog

java.lang.Object
  extended byorg.eclipse.swt.widgets.Dialog
      extended byorg.jzuul.gdk.swt.DialogEditorDialog

public class DialogEditorDialog
extends org.eclipse.swt.widgets.Dialog

Created on Jul 12, 2004

Version:
$Revision: 1.14 $

Nested Class Summary
protected  class DialogEditorDialog.DialogObjectElement
           
 
Field Summary
protected  org.eclipse.swt.widgets.Group dialogGroup
           
protected  org.eclipse.swt.widgets.List dialogList
           
protected  Stack dialogObjects
           
protected  Element dialogOwnerElement
           
protected  List dialogs
           
protected  String[] dialogTypes
           
protected  Stack freeIds
           
protected  int globalMaxId
           
protected  org.eclipse.swt.widgets.Combo itemCombo
           
private  org.eclipse.swt.widgets.Button lessButton
           
private  org.eclipse.swt.widgets.Button moreButton
           
protected  org.eclipse.swt.widgets.List phaseList
           
 
Fields inherited from class org.eclipse.swt.widgets.Dialog
 
Constructor Summary
DialogEditorDialog(org.eclipse.swt.widgets.Shell arg0)
           
DialogEditorDialog(org.eclipse.swt.widgets.Shell arg0, int arg1)
           
 
Method Summary
 void addToFree(List ids)
           
protected  void cleanUpChanges()
           
protected  void deleteDialog(int dialogNo)
           
protected  void deletePhase(int phaseNo)
           
 void disableButtons()
           
 void enableButtons()
           
protected  void findMaxId()
           
protected  void generateDialogGroup(org.eclipse.swt.widgets.Group group)
           
protected  Element getDialogByNr(int nr)
           
protected  Element getDialogByNr(String nr)
           
protected  String getDialogNo()
           
 List getIds(Element phase)
           
protected  String[] getItemNames()
           
protected  int getNextId()
           
protected  Element getPhaseByNr(int dialog, int phase)
           
protected  String getPhaseNo()
           
 Object open(Element dialogOwnerElement)
           
 void resetPhaseReferer(int phase)
           
 void setButtonsEnabled(boolean enabled)
           
protected  void setObjects(String dialogNo, String phaseNo, List objects)
           
protected  void showDialogObject(int dialog, int phase)
           
protected  void showDialogs()
           
protected  void showPhases(int dialogNr)
           
protected  void showPhases(String dialogNr)
           
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialogTypes

protected final String[] dialogTypes

dialogList

protected org.eclipse.swt.widgets.List dialogList

phaseList

protected org.eclipse.swt.widgets.List phaseList

itemCombo

protected org.eclipse.swt.widgets.Combo itemCombo

dialogGroup

protected org.eclipse.swt.widgets.Group dialogGroup

dialogs

protected List dialogs

dialogObjects

protected Stack dialogObjects

dialogOwnerElement

protected Element dialogOwnerElement

globalMaxId

protected int globalMaxId

freeIds

protected Stack freeIds

lessButton

private org.eclipse.swt.widgets.Button lessButton

moreButton

private org.eclipse.swt.widgets.Button moreButton
Constructor Detail

DialogEditorDialog

public DialogEditorDialog(org.eclipse.swt.widgets.Shell arg0)
Parameters:
arg0 -

DialogEditorDialog

public DialogEditorDialog(org.eclipse.swt.widgets.Shell arg0,
                          int arg1)
Parameters:
arg0 -
arg1 -
Method Detail

open

public Object open(Element dialogOwnerElement)

generateDialogGroup

protected void generateDialogGroup(org.eclipse.swt.widgets.Group group)

cleanUpChanges

protected void cleanUpChanges()

setObjects

protected void setObjects(String dialogNo,
                          String phaseNo,
                          List objects)

showPhases

protected void showPhases(String dialogNr)

showPhases

protected void showPhases(int dialogNr)

showDialogs

protected void showDialogs()

getDialogByNr

protected Element getDialogByNr(int nr)

getDialogByNr

protected Element getDialogByNr(String nr)

getPhaseByNr

protected Element getPhaseByNr(int dialog,
                               int phase)

showDialogObject

protected void showDialogObject(int dialog,
                                int phase)

findMaxId

protected void findMaxId()

getNextId

protected int getNextId()

getDialogNo

protected String getDialogNo()

getPhaseNo

protected String getPhaseNo()

deletePhase

protected void deletePhase(int phaseNo)

deleteDialog

protected void deleteDialog(int dialogNo)

getItemNames

protected String[] getItemNames()

setButtonsEnabled

public void setButtonsEnabled(boolean enabled)

enableButtons

public void enableButtons()

disableButtons

public void disableButtons()

getIds

public List getIds(Element phase)

resetPhaseReferer

public void resetPhaseReferer(int phase)

addToFree

public void addToFree(List ids)


Copyright © 2004 JZuul.org All Rights Reserved.
This documentation may be distributed and/or modified under the terms of the FDL