Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa4e.internal.ui.preferences
Class LocalOfficeApplicationPreferencesPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by ag.ion.noa4e.internal.ui.preferences.LocalOfficeApplicationPreferencesPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage

public class LocalOfficeApplicationPreferencesPage
extends org.eclipse.jface.preference.PreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage

Preferences page for local OpenOffice.org application.


Field Summary
static java.lang.String PAGE_ID
          ID of the page.
static java.lang.String PREFS_PREVENT_TERMINATION
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
LocalOfficeApplicationPreferencesPage()
           
 
Method Summary
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
          Creates and returns the SWT control for the customized body of this preference page under the given parent composite.
 void init(org.eclipse.ui.IWorkbench workbench)
          Initializes this preference page for the given workbench.
 boolean isValid()
          Returns information whether this preferences page is valid.
 boolean performOk()
          Notifies that the OK button of this page's container has been pressed.
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performDefaults, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, okToLeave, performCancel, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Field Detail

PAGE_ID

public static final java.lang.String PAGE_ID
ID of the page.

See Also:
Constant Field Values

PREFS_PREVENT_TERMINATION

public static final java.lang.String PREFS_PREVENT_TERMINATION
See Also:
Constant Field Values
Constructor Detail

LocalOfficeApplicationPreferencesPage

public LocalOfficeApplicationPreferencesPage()
Method Detail

init

public void init(org.eclipse.ui.IWorkbench workbench)
Initializes this preference page for the given workbench.

Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage
Parameters:
workbench - workbnech to be used

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Creates and returns the SWT control for the customized body of this preference page under the given parent composite.

Specified by:
createContents in class org.eclipse.jface.preference.PreferencePage
Parameters:
parent - the parent composite
Returns:
constructed control

performOk

public boolean performOk()
Notifies that the OK button of this page's container has been pressed.

Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
performOk in class org.eclipse.jface.preference.PreferencePage
Returns:
false to abort the container's OK processing and true to allow the OK to happen

isValid

public boolean isValid()
Returns information whether this preferences page is valid.

Specified by:
isValid in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
isValid in class org.eclipse.jface.preference.PreferencePage
Returns:
information whether this preferences page is valid

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013