Class ecUtility

Properties

No Properties

Methods

FUNCTION getPath(pathID$)

Get a requested path for Eclipse workspace

ParameterDescription
pathID$ An identified for the path
Returns The full path for the requested directory
Path Identification Codes
ValueDescription
O The output directory for the current project
P The root directory for the current project
S The source directory for the current project
W The workspace root directory
FUNCTION getSubFolders$(aFolder$)

Get a list of sub-folders for the specified folder.

ParameterDescription
aFolder The parent folder
Returns A string containing a $0A$ separated list of sub-folders for the supplied parent folder.
FUNCTION isAutoBuilding()

Get the state of the 'Build Automatically' preference for the workspace

Returns A simple numeric boolean (0=false, 1=true)
FUNCTION isMessageLibrary(aFile$)

Determine if a file is a Message library

ParameterDescription
aFile$ The full path the the file to be checked
Returns A simple numeric boolean (0=false, 1=true)
FUNCTION isNomadsLibrary(aFile$)

Determine if a file is a NOMADS library

ParameterDescription
aFile$ The full path the the file to be checked
Returns A simple numeric boolean (0=false, 1=true)
FUNCTION setAutoBuilding(aBoolean)

Set the state of the "Build Automatically" preference for the workspace

ParameterDescription
aBoolean A simple numeric boolean value (0=false, 1=true) to be assigned