com.tensegrity.gui.swt.dialog
Class SwtPreferencesDialog

java.lang.Object
  extended byorg.eclipse.swt.widgets.Dialog
      extended bycom.tensegrity.gui.swt.dialog.SwtPreferencesDialog
All Implemented Interfaces:
Evaluable

public class SwtPreferencesDialog
extends org.eclipse.swt.widgets.Dialog
implements Evaluable

NOTE:DO NOT USE THIS CLASS IT IS STILL UNDER CONSTRUCTION!!!

A simple dialog for view and changing preference attributes.

After instantiation use the open() method to make the dialog visible.

Version:
$Id: SwtPreferencesDialog.java,v 1.11 2006/03/14 14:44:06 MichaelKegel Exp $
Author:
Arnd Houben

Constructor Summary
SwtPreferencesDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String title, PreferenceDialogProvider prefProvider, UIManager uiManager, AttributeEditorTranslator editorTranslator)
          Constructor which requires a PreferenceDialogProvider instance.
 
Method Summary
 void applyEvList()
          Tells the component to apply its UIItemEvaluationList.
 void installEvList()
          Tells the component to setup its internal state.
 void open()
          Opens the modal dialog and returns a...
 
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
 

Constructor Detail

SwtPreferencesDialog

public SwtPreferencesDialog(org.eclipse.swt.widgets.Shell parent,
                            java.lang.String title,
                            PreferenceDialogProvider prefProvider,
                            UIManager uiManager,
                            AttributeEditorTranslator editorTranslator)
Constructor which requires a PreferenceDialogProvider instance.

Parameters:
parent - the parent shell
title - the dialog title
prefProvider - PreferenceDialogProvider instance for obtaining the preference attributes
uiManager - for internationalization
Method Detail

open

public void open()
Opens the modal dialog and returns a...


installEvList

public void installEvList()
Description copied from interface: Evaluable
Tells the component to setup its internal state.

Specified by:
installEvList in interface Evaluable

applyEvList

public void applyEvList()
Description copied from interface: Evaluable
Tells the component to apply its UIItemEvaluationList.

Specified by:
applyEvList in interface Evaluable


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.