Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » "setFilePath() should be called before calling this method"
"setFilePath() should be called before calling this method" [message #23035] Mon, 21 July 2008 17:46 Go to next message
Eclipse UserFriend
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 #23194 is a reply to message #23035] Mon, 28 July 2008 15:26 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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 #23888 is a reply to message #23194] Mon, 25 August 2008 15:51 Go to previous message
Stan Sutton is currently offline Stan SuttonFriend
Messages: 121
Registered: July 2009
Senior Member
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 15:26 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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 15:51 Go to previous message
Stan Sutton is currently offline Stan SuttonFriend
Messages: 121
Registered: July 2009
Senior Member
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
>
Previous Topic:SVN site down?
Next Topic:AXDT requires version 0.1.75?
Goto Forum:
  


Current Time: Tue Mar 19 03:32:15 GMT 2024

Powered by FUDForum. Page generated in 0.02016 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top