RSE
Release 3.3

org.eclipse.rse.ui.validators
Class ValidatorLocalPath

java.lang.Object
  extended by org.eclipse.rse.ui.validators.ValidatorUniqueString
      extended by org.eclipse.rse.ui.validators.ValidatorPathName
          extended by org.eclipse.rse.ui.validators.ValidatorLocalPath
All Implemented Interfaces:
IInputValidator, ICellEditorValidator, ISystemValidator, ISystemValidatorUniqueString

public class ValidatorLocalPath
extends ValidatorPathName

This class is used in dialogs that prompt for a local directory path. The IInputValidator interface is used by jface's InputDialog class and numerous other platform and system classes.


Field Summary
static char SEPCHAR
           
static boolean WINDOWS
           
 
Fields inherited from class org.eclipse.rse.ui.validators.ValidatorPathName
fUnique, msg_Invalid, specialChars
 
Fields inherited from class org.eclipse.rse.ui.validators.ValidatorUniqueString
CASE_INSENSITIVE, CASE_SENSITIVE, caseSensitive, currentMessage, existingList, msg_Empty, msg_NonUnique, QUOTE, syntaxValidator, useUpperCase
 
Constructor Summary
ValidatorLocalPath()
          Constructor for ValidatorLocalPath
ValidatorLocalPath(Collection existingNameList)
          Constructor for ValidatorLocalPath
ValidatorLocalPath(String[] existingNameList)
          Constructor for ValidatorLocalPath
 
Method Summary
 SystemMessage isSyntaxOk(String newText)
          Validate each character.
 
Methods inherited from class org.eclipse.rse.ui.validators.ValidatorPathName
containsSpecialCharacters, init, setErrorMessages, toString
 
Methods inherited from class org.eclipse.rse.ui.validators.ValidatorUniqueString
doMessageSubstitution, getExistingNamesList, getMaximumNameLength, getSystemMessage, getSystemMessageText, isValid, isValid, quotedToLowerCase, setCaseSensitive, setErrorMessages, setExistingNamesList, setExistingNamesList, setUseUpperCase, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WINDOWS

public static final boolean WINDOWS

SEPCHAR

public static final char SEPCHAR
Constructor Detail

ValidatorLocalPath

public ValidatorLocalPath(Collection existingNameList)
Constructor for ValidatorLocalPath


ValidatorLocalPath

public ValidatorLocalPath(String[] existingNameList)
Constructor for ValidatorLocalPath


ValidatorLocalPath

public ValidatorLocalPath()
Constructor for ValidatorLocalPath

Method Detail

isSyntaxOk

public SystemMessage isSyntaxOk(String newText)
Validate each character. Override of parent method.

Overrides:
isSyntaxOk in class ValidatorPathName

RSE
Release 3.3

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