|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A miscellaneous API exported by the maingui plugin.
This API is not thread-safe, and should only be called from the AWT/Swing thread.
Field Summary | |
static ClassConstrainedKey |
DEFAULTNOTATIONLOCALE_PREF
Key for default locale for notation. |
static ClassConstrainedKey |
IS_AUTOSMARTQUOTES_PREF
Key for automatic smart quotes. |
static String |
JFRAME_PANEMANAGERTYPE
Name for JFrame PaneManager |
static String |
MDI_PANEMANAGERTYPE
Name for MDI PaneManager |
static ClassConstrainedKey |
NATIVE_PRINT_DIALOGS_PREF
Key for use native print dialogs. |
static ClassConstrainedKey |
NUM_UNDOLEVELS_PREF
Key for the number of undo levels. |
static ClassConstrainedKey |
PANEMANAGERTYPE_PREF
Key for PaneManager implementation. |
Method Summary | |
AsyncJobRunner |
getDefaultAsyncJobRunner()
Get the default AsyncJobRunner for running long jobs in a separate thread with a progress dialog. |
JComponent |
getDialogParent()
Get the dialog parent. |
File |
getFileChooserDirectory()
Get the current directory for file choosers |
PropertySet |
getMainGuiPrefs()
Get the main gui prefs |
void |
registerAsyncJobRunner(AsyncJobRunner runner)
Register an AsyncJobRunner that can run long operations. |
void |
setFileChooserDirectory(File directory)
Set the current directory for file choosers |
Field Detail |
public static final String MDI_PANEMANAGERTYPE
public static final String JFRAME_PANEMANAGERTYPE
public static final ClassConstrainedKey NUM_UNDOLEVELS_PREF
public static final ClassConstrainedKey IS_AUTOSMARTQUOTES_PREF
public static final ClassConstrainedKey NATIVE_PRINT_DIALOGS_PREF
public static final ClassConstrainedKey DEFAULTNOTATIONLOCALE_PREF
public static final ClassConstrainedKey PANEMANAGERTYPE_PREF
Method Detail |
public PropertySet getMainGuiPrefs()
public JComponent getDialogParent()
public File getFileChooserDirectory()
public void setFileChooserDirectory(File directory)
directory
- new file chooser directorypublic void registerAsyncJobRunner(AsyncJobRunner runner)
runner
- AsyncJobRunnerpublic AsyncJobRunner getDefaultAsyncJobRunner()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |