Drools :: Eclipse :: Guvnor tools 6.0.0.CR4

org.guvnor.tools.preferences
Class GuvnorPreferencePage

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

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

Page for setting Guvnor preferences.


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
GuvnorPreferencePage()
           
GuvnorPreferencePage(String title)
           
GuvnorPreferencePage(String title, org.eclipse.jface.resource.ImageDescriptor image)
           
 
Method Summary
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.jface.preference.IPreferenceStore doGetPreferenceStore()
           
static String getGuvnorTemplatePref()
           
static int getOverlayLocationPref()
           
 void init(org.eclipse.ui.IWorkbench workbench)
           
protected  void performDefaults()
           
 boolean performOk()
           
static boolean shouldSavePasswords()
           
static boolean shouldShowChangeIndicator()
           
static boolean shouldShowRevision()
           
static boolean shouldShowTimeDateStamp()
           
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, 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, 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

GuvnorPreferencePage

public GuvnorPreferencePage()

GuvnorPreferencePage

public GuvnorPreferencePage(String title)

GuvnorPreferencePage

public GuvnorPreferencePage(String title,
                            org.eclipse.jface.resource.ImageDescriptor image)
Method Detail

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Specified by:
createContents in class org.eclipse.jface.preference.PreferencePage

doGetPreferenceStore

protected org.eclipse.jface.preference.IPreferenceStore doGetPreferenceStore()
Overrides:
doGetPreferenceStore in class org.eclipse.jface.preference.PreferencePage

init

public void init(org.eclipse.ui.IWorkbench workbench)
Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage

performDefaults

protected void performDefaults()
Overrides:
performDefaults in class org.eclipse.jface.preference.PreferencePage

performOk

public boolean performOk()
Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
performOk in class org.eclipse.jface.preference.PreferencePage

getGuvnorTemplatePref

public static String getGuvnorTemplatePref()

shouldSavePasswords

public static boolean shouldSavePasswords()

getOverlayLocationPref

public static int getOverlayLocationPref()

shouldShowChangeIndicator

public static boolean shouldShowChangeIndicator()

shouldShowRevision

public static boolean shouldShowRevision()

shouldShowTimeDateStamp

public static boolean shouldShowTimeDateStamp()

Drools :: Eclipse :: Guvnor tools 6.0.0.CR4

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.