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

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.propertypages
Class SystemIntegerFieldEditor

java.lang.Object
  extended by 

org.eclipse.jface.preference.FieldEditor
      extended by 

org.eclipse.jface.preference.StringFieldEditor
          extended by 

org.eclipse.jface.preference.IntegerFieldEditor
              extended by 
org.eclipse.rse.ui.propertypages.SystemIntegerFieldEditor

public class SystemIntegerFieldEditor
extends IntegerFieldEditor

A version of an IntegerFieldEditor which allows setting tooltip and help If value is outside of valid range, message will tell user what the valid range is


Field Summary
protected   Composite composite_parent
           
static  String Copyright
           
 
Fields inherited from class org.eclipse.jface.preference. StringFieldEditor
oldValue, UNLIMITED, VALIDATE_ON_FOCUS_LOST, VALIDATE_ON_KEY_STROKE
 
Fields inherited from class org.eclipse.jface.preference. FieldEditor
HORIZONTAL_GAP, IS_VALID, VALUE
 
Constructor Summary
SystemIntegerFieldEditor ()
           
SystemIntegerFieldEditor ( String name, String labelText, Composite parent)
           
 
Method Summary
 void refreshValidState ()
           
 void setEnabled (boolean enabled)
           
 void setHelp ( String contextId)
          Method setHelp.
 void setToolTipText ( String tip)
          Method setToolTipText.
 void setValidRange (int min, int max)
           
 
Methods inherited from class org.eclipse.jface.preference. IntegerFieldEditor
checkState, doLoad, doLoadDefault, doStore, getIntValue
 
Methods inherited from class org.eclipse.jface.preference. StringFieldEditor
adjustForNumColumns, doCheckState, doFillIntoGrid, getErrorMessage, getNumberOfControls, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, setEmptyStringAllowed, setEnabled, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged
 
Methods inherited from class org.eclipse.jface.preference. FieldEditor
applyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, load, loadDefault, presentsDefaultValue, setButtonLayoutData, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final 
String Copyright
See Also:
Constant Field Values

composite_parent

protected 
Composite composite_parent
Constructor Detail

SystemIntegerFieldEditor

public SystemIntegerFieldEditor()
See Also:
Object.Object()

SystemIntegerFieldEditor

public SystemIntegerFieldEditor(
String name,
                                
String labelText,
                                
Composite parent)
See Also:
FieldEditor.FieldEditor(String, String, Composite)
Method Detail

setValidRange

public void setValidRange(int min,
                          int max)
Overrides:
setValidRange in class IntegerFieldEditor
See Also:
IntegerFieldEditor.setValidRange(int, int)

setHelp

public void setHelp(
String contextId)
Method setHelp. Sets the info pop help for this field editor

Parameters:
contextId - the context ID for the help

setToolTipText

public void setToolTipText(
String tip)
Method setToolTipText. The tooltip text

Parameters:
tip - the tip to set for the entry field

setEnabled

public void setEnabled(boolean enabled)

refreshValidState

public void refreshValidState()
Overrides:
refreshValidState in class StringFieldEditor

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