com.tensegrity.gui.swt.document.persitence
Class SwtDocumentInformationCheck

java.lang.Object
  extended bycom.tensegrity.gui.document.persistence.DocumentInformationCheck
      extended bycom.tensegrity.gui.swt.document.persitence.SwtDocumentInformationCheck

public class SwtDocumentInformationCheck
extends DocumentInformationCheck

TODO SGu (30.06.2005): IMPLEMENT AND COMMENT

Version:
$Id: SwtDocumentInformationCheck.java,v 1.2 2005/10/20 08:34:28 ArndHouben Exp $
Author:
S�bastien Guyon

Constructor Summary
SwtDocumentInformationCheck(Preferences prefs, UIManager uiManager, RuleRegistry rr, LayoutController lc, Frame dlgParent)
           TODO SGu (30.06.2005): Comment constructor
 
Method Summary
protected  LayoutController getDefaultLayoutController()
          Returns the default layout controller
protected  RuleRegistry getDefaultRuleRegistry()
          Returns the default rule registry
protected  Preferences getPreferences()
          Returns the Preferences
protected  boolean showDialog(AttributeSet setLost)
          Shows a dialog to the user informing him of elements that will not be stored and will probably get lost with the current include settings.
 
Methods inherited from class com.tensegrity.gui.document.persistence.DocumentInformationCheck
checkForLostInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwtDocumentInformationCheck

public SwtDocumentInformationCheck(Preferences prefs,
                                   UIManager uiManager,
                                   RuleRegistry rr,
                                   LayoutController lc,
                                   Frame dlgParent)

TODO SGu (30.06.2005): Comment constructor

Parameters:
prefs -
uiManager -
rr -
lc -
dlgParent -
Method Detail

showDialog

protected boolean showDialog(AttributeSet setLost)
Description copied from class: DocumentInformationCheck
Shows a dialog to the user informing him of elements that will not be stored and will probably get lost with the current include settings.

Specified by:
showDialog in class DocumentInformationCheck
Parameters:
setLost - An AttributeSet containing all lost information
Returns:
true if the user accepts the loss false if the operation should be canceled

getPreferences

protected Preferences getPreferences()
Description copied from class: DocumentInformationCheck
Returns the Preferences

Specified by:
getPreferences in class DocumentInformationCheck
Returns:
the Preferences

getDefaultLayoutController

protected LayoutController getDefaultLayoutController()
Description copied from class: DocumentInformationCheck
Returns the default layout controller

Specified by:
getDefaultLayoutController in class DocumentInformationCheck
Returns:
the default layout controller

getDefaultRuleRegistry

protected RuleRegistry getDefaultRuleRegistry()
Description copied from class: DocumentInformationCheck
Returns the default rule registry

Specified by:
getDefaultRuleRegistry in class DocumentInformationCheck
Returns:
the default rule registry


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