Class AbstractResourceBuilder

Abstract class for ResourceBuilder classes. These classes are used to export/import properties for all resources in a project or group of projects.

Build Information

Author Fred McGuirk
Date Oct 30, 2006
Outputfile AbstractResourceBuilder.pvc
Forcelinenumbers false

Properties

No Properties

Methods

FUNCTION add(name$, path$, childList$, propList)

Add a new property into object to be created. This method is a stub that will be over-ridden by the child classes.


ParameterDescription
name$ The name of the resource.
path$ The path to the resource within the project.
childList$ A comma-separated list of children for this resource.
propList A reference to [ProvideX Library Class:*obj/group] which is a collection of [ProvideX Class:ResourceProperty]
FUNCTION build()

Create the outut object from the information collected by the 'add()' method.

FUNCTION isCancelled()

Check the state of the process to see if the user has initiated a cancel request.


Returns A simple integer value to indicate that the process has been cancelled (0=False, 1=True).
FUNCTION setCancelled(initCancelled)

Set the flag to indicate that the process has been cancelled.


ParameterDescription
initCancelled A simple integer value to indicate that the process has been cancelled (0=False, 1=True).