RSE
Release 1.0

org.eclipse.rse.ui.view
Class SystemPropertySheetForm

java.lang.Object
  extended byorg.eclipse.swt.widgets.Widget
      extended byorg.eclipse.swt.widgets.Control
          extended byorg.eclipse.swt.widgets.Scrollable
              extended byorg.eclipse.swt.widgets.Composite
                  extended byorg.eclipse.rse.ui.view.SystemPropertySheetForm
All Implemented Interfaces:
Drawable

public class SystemPropertySheetForm
extends Composite

This re-usable widget is for a property-sheet widget that is imbeddable in dialogs. It is similar to the workbench property sheet but there are some important differences.


Field Summary
static int DEFAULT_HEIGHT
           
static int DEFAULT_WIDTH
           
 
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
Constructor Summary
SystemPropertySheetForm(Shell shell, Composite parent, int style, ISystemMessageLine msgLine)
          Constructor
SystemPropertySheetForm(Shell shell, Composite parent, int style, ISystemMessageLine msgLine, int horizontalSpan, int verticalSpan)
          Constructor when you want to span more than one column or row
 
Method Summary
protected  void addOurKeyListener()
           
protected  void addOurMouseListener()
           
protected  void addOurSelectionListener()
           
protected  void createPropertySheetView(Shell shell)
           
 Control getControl()
          Return the underlying control
 PropertySheetPage getPropertySheetView()
          Return the system view tree viewer
protected  Composite prepareComposite(int numColumns, int horizontalSpan, int verticalSpan)
          Prepares this composite control and sets the default layout data.
 void refresh()
          Refresh contents
 void selectionChanged(ISelection selection)
          Method declared on ISelectionListener.
 void setEnabled(boolean enabled)
          Disable/Enable all the child controls.
 void setToolTipText(String tip)
          Set the tree's tooltip text
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBackgroundImage, 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, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, 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
 

Field Detail

DEFAULT_WIDTH

public static final int DEFAULT_WIDTH
See Also:
Constant Field Values

DEFAULT_HEIGHT

public static final int DEFAULT_HEIGHT
See Also:
Constant Field Values
Constructor Detail

SystemPropertySheetForm

public SystemPropertySheetForm(Shell shell,
                               Composite parent,
                               int style,
                               ISystemMessageLine msgLine)
Constructor

Parameters:
shell - The owning window
parent - The owning composite
style - The swt style to apply to the overall composite. Typically SWT.NULL
msgLine - where to show messages and tooltip text

SystemPropertySheetForm

public SystemPropertySheetForm(Shell shell,
                               Composite parent,
                               int style,
                               ISystemMessageLine msgLine,
                               int horizontalSpan,
                               int verticalSpan)
Constructor when you want to span more than one column or row

Parameters:
shell - The owning window
parent - The owning composite
style - The swt style to apply to the overall composite. Typically SWT.NULL
horizontalSpan - how many columns in parent composite to span
verticalSpan - how many rows in parent composite to span
msgLine - where to show messages and tooltip text
Method Detail

getPropertySheetView

public PropertySheetPage getPropertySheetView()
Return the system view tree viewer


getControl

public Control getControl()
Return the underlying control


setToolTipText

public void setToolTipText(String tip)
Set the tree's tooltip text


refresh

public void refresh()
Refresh contents


selectionChanged

public void selectionChanged(ISelection selection)
Method declared on ISelectionListener.


setEnabled

public void setEnabled(boolean enabled)
Disable/Enable all the child controls.


prepareComposite

protected Composite prepareComposite(int numColumns,
                                     int horizontalSpan,
                                     int verticalSpan)
Prepares this composite control and sets the default layout data.


createPropertySheetView

protected void createPropertySheetView(Shell shell)

addOurSelectionListener

protected void addOurSelectionListener()

addOurMouseListener

protected void addOurMouseListener()

addOurKeyListener

protected void addOurKeyListener()

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.