ca.sqlpower.architect.swingui
Class PreferencesEditor

java.lang.Object
  extended by ca.sqlpower.architect.swingui.PreferencesEditor

public class PreferencesEditor
extends java.lang.Object

This class is used to create and display the User Preferences dialog


Constructor Summary
PreferencesEditor()
           
 
Method Summary
 java.awt.Window showJDBCDriverPreferences(java.awt.Window owner, ArchitectSwingSessionContext context)
          Similar to showPreferencesDialog(Window, ArchitectSwingSessionContext) except it also sets the selected tab to the JDBC preferences panel
 java.awt.Window showPreferencesDialog(java.awt.Window owner, ArchitectSwingSessionContext context)
          If the dialog for the preferences editor hasn't been initialized, then initialize it Otherwise, just set it to visible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesEditor

public PreferencesEditor()
Method Detail

showPreferencesDialog

public java.awt.Window showPreferencesDialog(java.awt.Window owner,
                                             ArchitectSwingSessionContext context)
If the dialog for the preferences editor hasn't been initialized, then initialize it Otherwise, just set it to visible.

Parameters:
owner - The Window that is the owner of this dialog
context - The application swing context, which contains the user preferences to be edited
Returns:
The dialog containing the preference editor

showJDBCDriverPreferences

public java.awt.Window showJDBCDriverPreferences(java.awt.Window owner,
                                                 ArchitectSwingSessionContext context)
Similar to showPreferencesDialog(Window, ArchitectSwingSessionContext) except it also sets the selected tab to the JDBC preferences panel

Parameters:
owner - The Window that is the owner of this dialog
context - The application swing context, which contains the user preferences to be edited
Returns:
The dialog containing the preference editor with the selected tab set to the JDBC preferences


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca