public abstract class AbstractProjectPreferencePage
extends PreferencePage
Constructor and Description |
---|
AbstractProjectPreferencePage(String pluginId,
String pageTitle) |
Modifier and Type | Method and Description |
---|---|
void |
createFieldEditors(Composite fieldEditorParent)
Creates the field editors.
|
void |
dispose()
The field editor preference page implementation of an
IDialogPage
method disposes of this page's controls and images. |
IProject |
getElement()
Return the object that owns the properties shown in this property page, which is
a non-null IProject for a project Property page and null for a global preference page.
|
IPreferenceStore |
getPreferenceStore()
Returns the prevailing project or workspace preference store.
|
IPreferenceStore |
getWorkspaceStore() |
void |
init(IWorkbench workbench) |
boolean |
performOk() |
void |
propertyChange(PropertyChangeEvent event)
The field editor preference page implementation of this
IPreferencePage
(and IPropertyChangeListener ) method intercepts IS_VALID
events but passes other events on to its superclass. |
void |
setElement(IAdaptable element)
Receives the object that owns the properties shown in this property page.
|
void |
setVisible(boolean visible) |
public void createFieldEditors(Composite fieldEditorParent)
public void dispose()
IDialogPage
method disposes of this page's controls and images.
Subclasses may override to release their own allocated SWT
resources, but must call super.dispose
.public final IProject getElement()
public IPreferenceStore getPreferenceStore()
public IPreferenceStore getWorkspaceStore()
public void init(IWorkbench workbench)
public boolean performOk()
public void propertyChange(PropertyChangeEvent event)
IPreferencePage
(and IPropertyChangeListener
) method intercepts IS_VALID
events but passes other events on to its superclass.public void setElement(IAdaptable element)
IWorkbenchPropertyPage
public void setVisible(boolean visible)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.