|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
com.tensegrity.gui.swt.control.panels.PreferencesPanel
This panel is for displaying and editing preference attributes.
Each registered PreferenceListener is notified on preferences change.
Requires an instance of PreferenceDialogProvider
to obtain a list of all preference attributes.
| Field Summary |
| Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
| Constructor Summary | |
PreferencesPanel(org.eclipse.swt.widgets.Composite parent,
UIManager uiManager,
PreferenceDialogProvider prefProvider,
AttributeEditorTranslator translator)
Constructor which requires a PreferenceDialogProvider |
|
| Method Summary | |
void |
addPreferenceListener(PreferenceListener listener)
Adds the specified PreferenceListener to the list of all listeners |
void |
applyEvList()
Tells the component to apply its UIItemEvaluationList. |
java.lang.String |
getCurrentAttributeSetName()
This method returns the AttributeSet name corresponding to the data displayed on the visible TabItem. |
SwtPreferenceTree |
getCurrentPreferenceTable()
This method returns the currently visible SwtPreferenceTable |
void |
installEvList()
Tells the component to setup its internal state. |
void |
removePreferenceListener(PreferenceListener listener)
Removes the specified PreferenceListener from the list of all listeners |
void |
restoreDefaults()
Sets the default values for the currently used tab item |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
checkSubclass, computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PreferencesPanel(org.eclipse.swt.widgets.Composite parent,
UIManager uiManager,
PreferenceDialogProvider prefProvider,
AttributeEditorTranslator translator)
parent - the composite to add this PreferencePanel touiManager - the UIManager to use for initernationalizationprefProvider - the PreferenceDialogProvider for obtaininf the
attributes| Method Detail |
public final java.lang.String getCurrentAttributeSetName()
This method returns the AttributeSet name corresponding to the data displayed on the visible TabItem.
public final SwtPreferenceTree getCurrentPreferenceTable()
This method returns the currently visible SwtPreferenceTable
public final void restoreDefaults()
public void installEvList()
Evaluable
installEvList in interface Evaluablepublic void applyEvList()
EvaluableUIItemEvaluationList.
applyEvList in interface Evaluablepublic final void addPreferenceListener(PreferenceListener listener)
listener - an arbitrary PreferenceListenerpublic final void removePreferenceListener(PreferenceListener listener)
listener - a PreferenceListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||