org.jupe.plugin.preferences
Class JupePreferencesPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by org.jupe.plugin.preferences.JupePreferencesPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage

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

Defines the Jupe preference page with project-independant preferences the user can configure.

Author:
martin, Michael Pradel

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
JupePreferencesPage()
          Constructor
 
Method Summary
 void init(org.eclipse.ui.IWorkbench workbench)
          
static boolean isDebugMessageEnabled()
          Method returns true if debug message is enabled in preference page.
static boolean isJavaConventionEnabled()
          Method returns true if usage of java convention is enabled in preference page.
 boolean performOk()
          
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, computeSize, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, 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
 

Constructor Detail

JupePreferencesPage

public JupePreferencesPage()
Constructor

Method Detail

isDebugMessageEnabled

public static boolean isDebugMessageEnabled()
Method returns true if debug message is enabled in preference page.

Returns:
true if debug is enabled, false otherwise

isJavaConventionEnabled

public static boolean isJavaConventionEnabled()
Method returns true if usage of java convention is enabled in preference page.

Returns:
true if usage java convention is enabled, false otherwise

init

public void init(org.eclipse.ui.IWorkbench workbench)

Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage

performOk

public boolean performOk()

Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
performOk in class org.eclipse.jface.preference.PreferencePage