Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.widgets
Class InheritControl


java.lang.Object
  extended by 

org.eclipse.swt.widgets.Widget
      extended by 

org.eclipse.swt.widgets.Control
          extended by 

org.eclipse.swt.widgets.Scrollable
              extended by 

org.eclipse.swt.widgets.Composite
                  extended by 
org.eclipse.rse.ui.widgets.InheritControl
All Implemented Interfaces:
Drawable

Deprecated.

public class InheritControl
extends Composite

A widget like the old ET/400 inherit/override widget. There are left and right arrows beside each other. Typically, clicking on left means to inherit from parent, clicking on right means to override locally. However, the control can be used for any binary decision! THIS IS NOT USED AND NOT WORKING. USE INHERITABLEENTRYFIELD INSTEAD

See Also:
InheritableEntryField

Field Summary
 
Fields inherited from class org.eclipse.swt.widgets. Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets. Widget
handle
 
Constructor Summary
InheritControl ( Composite parent, int style)
          Deprecated. Constructor.
 
Method Summary
 void addSelectionListener ( SelectionListener listener)
          Deprecated. Add a listener that is called whenever the left or right side is selected.
 boolean isLocal ()
          Deprecated. Returns true if the right-side is selected, false if the left is selected
 void removeSelectionListener ( SelectionListener listener)
          Deprecated. Remove a previously set selection listener.
 void setLocal (boolean l)
          Deprecated. Programmatically select left (false) or right/local (true) arrow.
 void setToolTipText ( String tip)
          Deprecated. Set tooltip text (hover help)
 void widgetDisposed ( DisposeEvent e)
          Deprecated. Private hook called by system when this widget is disposed.
 
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, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getData, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets. Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getDisplay, getListeners, 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

InheritControl

public InheritControl(
Composite parent,
                      int style)
Deprecated. 
Constructor.

Parameters:
parent - Composite to place this widget into
style - Widget style. Passed on to constructor of parent class Composite
Method Detail

addSelectionListener

public void addSelectionListener(
SelectionListener listener)
Deprecated. 
Add a listener that is called whenever the left or right side is selected.

Call isLocal() to determine if left (false) or right (true) was pressed.

See Also:
addSelectionListener(SelectionListener)

isLocal

public boolean isLocal()
Deprecated. 
Returns true if the right-side is selected, false if the left is selected


removeSelectionListener

public void removeSelectionListener(
SelectionListener listener)
Deprecated. 
Remove a previously set selection listener.

See Also:
addSelectionListener(SelectionListener)

setLocal

public void setLocal(boolean l)
Deprecated. 
Programmatically select left (false) or right/local (true) arrow.


setToolTipText

public void setToolTipText(
String tip)
Deprecated. 
Set tooltip text (hover help)

Overrides:
setToolTipText in class Control

widgetDisposed

public void widgetDisposed(
DisposeEvent e)
Deprecated. 
Private hook called by system when this widget is disposed.


RSE
Release 3.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire