org.eclipse.mylar.internal.resources.ui.preferences
Class MylarResourcesPreferencePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by org.eclipse.mylar.internal.resources.ui.preferences.MylarResourcesPreferencePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage

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

Author:
Mik Kersten

Field Summary
private  org.eclipse.swt.widgets.Button addButton
           
private  org.eclipse.swt.widgets.Table ignoreTable
           
private  org.eclipse.swt.widgets.Button removeButton
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
MylarResourcesPreferencePage()
           
 
Method Summary
private  void addIgnore()
           
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
private  void createExcludesTable(org.eclipse.swt.widgets.Composite parent)
           
private  void fillTable(java.util.Set<java.lang.String> ignored)
           
private  void handleSelection()
           
 void init(org.eclipse.ui.IWorkbench workbench)
           
protected  void performDefaults()
           
 boolean performOk()
          Do anything necessary because the OK button has been pressed.
private  void removeIgnore()
           
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, 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
 

Field Detail

ignoreTable

private org.eclipse.swt.widgets.Table ignoreTable

addButton

private org.eclipse.swt.widgets.Button addButton

removeButton

private org.eclipse.swt.widgets.Button removeButton
Constructor Detail

MylarResourcesPreferencePage

public MylarResourcesPreferencePage()
Method Detail

init

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

createContents

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

createExcludesTable

private void createExcludesTable(org.eclipse.swt.widgets.Composite parent)

performOk

public boolean performOk()
Do anything necessary because the OK button has been pressed.

Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
performOk in class org.eclipse.jface.preference.PreferencePage
Returns:
whether it is okay to close the preference page

performDefaults

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

fillTable

private void fillTable(java.util.Set<java.lang.String> ignored)
Parameters:
ignore -

addIgnore

private void addIgnore()

removeIgnore

private void removeIgnore()

handleSelection

private void handleSelection()