Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums"setFilePath() should be called before calling this method"
https://www.eclipse.org/forums/index.php/mv/msg/7536/23035/#msg_23035
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.]]>2008-07-21T17:46:15-00:00Re: "setFilePath() should be called before calling this method"
https://www.eclipse.org/forums/index.php/mv/msg/7536/23194/#msg_23194
> 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]]>Ed Willink2008-07-28T15:26:42-00:00Re: "setFilePath() should be called before calling this method"
https://www.eclipse.org/forums/index.php/mv/msg/7536/572573/#msg_572573
> 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]]>Ed Willink2008-07-28T15:26:42-00:00Re: "setFilePath() should be called before calling this method"
https://www.eclipse.org/forums/index.php/mv/msg/7536/23888/#msg_23888
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
>]]>Stan Sutton2008-08-25T15:51:42-00:00Re: "setFilePath() should be called before calling this method"
https://www.eclipse.org/forums/index.php/mv/msg/7536/573074/#msg_573074
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
>]]>Stan Sutton2008-08-25T15:51:42-00:00