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 13:46 Go to next message
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 #23194 is a reply to message #23035] Mon, 28 July 2008 11:26 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4026
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 11:51 Go to previous message
Stan Sutton is currently offline Stan Sutton
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 11:26 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4026
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 11:51 Go to previous message
Stan Sutton is currently offline Stan Sutton
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: Wed Aug 20 12:42:06 EDT 2014

Powered by FUDForum. Page generated in 0.03159 seconds