com.aptana.ide.editor.css.preferences
Class GeneralPreferencePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by org.eclipse.jface.preference.FieldEditorPreferencePage
              extended by com.aptana.ide.editors.preferences.EditorPreferencePage
                  extended by com.aptana.ide.editors.preferences.CoreEditorPreferencePage
                      extended by com.aptana.ide.editor.css.preferences.GeneralPreferencePage
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.IWorkbenchPreferencePage

public class GeneralPreferencePage
extends CoreEditorPreferencePage

The form for configuring the general top-level preferences for this plugin


Field Summary
 
Fields inherited from class com.aptana.ide.editors.preferences.CoreEditorPreferencePage
editorArea
 
Fields inherited from class com.aptana.ide.editors.preferences.EditorPreferencePage
pairMatchingGroup
 
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACING
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
GeneralPreferencePage()
          GeneralPreferencePage
 
Method Summary
 void createFieldEditors()
          Creates the field editors.
protected  java.lang.String getEditorDescription()
          Gets editor description text to display near the image
protected  java.lang.String getEditorId()
          Returned the id for this editor (used to lookup file associations)
protected  org.eclipse.jface.resource.ImageDescriptor getEditorImage()
          Returns an image for this editor (assumed 48x48)
 void init(org.eclipse.ui.IWorkbench workbench)
           
 
Methods inherited from class com.aptana.ide.editors.preferences.CoreEditorPreferencePage
createEditorDescriptorArea, dispose, getFileAssociations, setVisible
 
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
addField, adjustGridLayout, applyFont, checkState, createContents, getFieldEditorParent, initialize, performDefaults, performOk, propertyChange
 
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, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage
 
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, performOk, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle
 

Constructor Detail

GeneralPreferencePage

public GeneralPreferencePage()
GeneralPreferencePage

Method Detail

createFieldEditors

public void createFieldEditors()
Creates the field editors. Field editors are abstractions of the common GUI blocks needed to manipulate various types of preferences. Each field editor knows how to save and restore itself.

Overrides:
createFieldEditors in class CoreEditorPreferencePage
See Also:
EditorPreferencePage.createFieldEditors()

init

public void init(org.eclipse.ui.IWorkbench workbench)
See Also:
IWorkbenchPreferencePage.init(org.eclipse.ui.IWorkbench)

getEditorDescription

protected java.lang.String getEditorDescription()
Description copied from class: CoreEditorPreferencePage
Gets editor description text to display near the image

Specified by:
getEditorDescription in class CoreEditorPreferencePage
Returns:
- description of editor
See Also:
CoreEditorPreferencePage.getEditorDescription()

getEditorId

protected java.lang.String getEditorId()
Description copied from class: CoreEditorPreferencePage
Returned the id for this editor (used to lookup file associations)

Specified by:
getEditorId in class CoreEditorPreferencePage
Returns:
- string editor id
See Also:
CoreEditorPreferencePage.getEditorId()

getEditorImage

protected org.eclipse.jface.resource.ImageDescriptor getEditorImage()
Description copied from class: CoreEditorPreferencePage
Returns an image for this editor (assumed 48x48)

Overrides:
getEditorImage in class CoreEditorPreferencePage
Returns:
- editor image
See Also:
CoreEditorPreferencePage.getEditorImage()