"setFilePath() should be called before calling this method" [message #23035] |
Mon, 21 July 2008 13:46  |
Eclipse User |
|
|
|
Originally posted by: mcriley.cohesionforce.com
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.
Thanks.
Marc A. Criley
Cohesion Force, Inc.
|
|
|
|
Re: "setFilePath() should be called before calling this method" [message #23888 is a reply to message #23194] |
Mon, 25 August 2008 11:51  |
Eclipse User |
|
|
|
Marc,
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
>
|
|
|
Re: "setFilePath() should be called before calling this method" [message #572573 is a reply to message #23035] |
Mon, 28 July 2008 11:26  |
Eclipse User |
|
|
|
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
|
|
|
Re: "setFilePath() should be called before calling this method" [message #573074 is a reply to message #23194] |
Mon, 25 August 2008 11:51  |
Eclipse User |
|
|
|
Marc,
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.27372 seconds