org.eclipse.contribution.visualiser.internal.preference
Class VisualiserPreferencePage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended byorg.eclipse.contribution.visualiser.internal.preference.VisualiserPreferencePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage

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

The preference page for the Visualiser plugin


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
VisualiserPreferencePage()
           
 
Method Summary
 void dispose()
          Disposes the visualiser preview canvas
 void init(org.eclipse.ui.IWorkbench workbench)
           
 boolean performOk()
          Called when the user presses OK.
 
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
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, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

VisualiserPreferencePage

public VisualiserPreferencePage()
Method Detail

dispose

public void dispose()
Disposes the visualiser preview canvas

Specified by:
dispose in interface org.eclipse.jface.dialogs.IDialogPage

performOk

public boolean performOk()
Called when the user presses OK. Updates the Visualiser with the selections chosen.

Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
See Also:
PreferencePage.performOk()

init

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