This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 36637 - CompileEvent constructor
Summary: CompileEvent constructor
Status: CLOSED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-10-16 09:37 UTC by _ pkuzel
Modified: 2004-04-19 16:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2003-10-16 09:37:09 UTC
Compiler event constructor takes source parameter
and handler parameter. I inspected my code and
majority of handlers are the same, navidate to a
line in the source.

Therefore constructor taking source and line would
be usefull removing a lot of boilerplate code from
clients. 

Solution can appear also as a static utility method.
Comment 1 _ pkuzel 2003-10-16 12:17:54 UTC
Why is it backward incompatible?
Comment 2 Vitezslav Stejskal 2003-10-17 09:31:06 UTC
You are asking for changing existing ctor.
Comment 3 _ pkuzel 2003-10-20 08:21:05 UTC
No, adding a new one. Or (may be better) to add utility class serving
the common navigate to line case handler. 
Comment 4 _ pkuzel 2003-10-20 09:37:56 UTC
There is static getDefaultCompilerEventHandler on CompilerEvent.

I do not know why I missed it. May be I expected it at CEH.
Comment 5 Jan Becicka 2003-11-25 14:00:39 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 6 Jan Becicka 2003-11-25 14:09:20 UTC
---> CLOSED