Marc A Criley wrote:
> The generated xxxParseController class contains the statement
> "setFilePath() should be called before calling this method." in a
> comment immediately above the parse() method.
>
> I seem unable to locate a relevant setFilePath() function to call. Is
> this a dead comment, or am I just looking in all the wrong places.

You should find that
initialize(IPath filePath, ISourceProject project, IMessageHandler handler)
gets called automatically so that you don't need to do anything special.

Yes, what Ed wrote is correct. I don't know why that comment hasn't
been deleted--it confuses me from time to time, too :-).

If you should find that initialize(..) is not being called
automatically, then that is a bug, and please go ahead and call it.

Regards,

Stan

Ed Willink wrote:
> Marc A Criley wrote:
>> The generated xxxParseController class contains the statement
>> "setFilePath() should be called before calling this method." in a
>> comment immediately above the parse() method.
>>
>> I seem unable to locate a relevant setFilePath() function to call. Is
>> this a dead comment, or am I just looking in all the wrong places.
>
> You should find that
> initialize(IPath filePath, ISourceProject project, IMessageHandler handler)
> gets called automatically so that you don't need to do anything special.
>
> Ed
>

Marc A Criley wrote:
> The generated xxxParseController class contains the statement
> "setFilePath() should be called before calling this method." in a
> comment immediately above the parse() method.
>
> I seem unable to locate a relevant setFilePath() function to call. Is
> this a dead comment, or am I just looking in all the wrong places.

You should find that
initialize(IPath filePath, ISourceProject project, IMessageHandler handler)
gets called automatically so that you don't need to do anything special.

Yes, what Ed wrote is correct. I don't know why that comment hasn't
been deleted--it confuses me from time to time, too :-).

If you should find that initialize(..) is not being called
automatically, then that is a bug, and please go ahead and call it.

Regards,

Stan

Ed Willink wrote:
> Marc A Criley wrote:
>> The generated xxxParseController class contains the statement
>> "setFilePath() should be called before calling this method." in a
>> comment immediately above the parse() method.
>>
>> I seem unable to locate a relevant setFilePath() function to call. Is
>> this a dead comment, or am I just looking in all the wrong places.
>
> You should find that
> initialize(IPath filePath, ISourceProject project, IMessageHandler handler)
> gets called automatically so that you don't need to do anything special.
>
> Ed
>