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 152537 - Implement support for tasks that modify sources
Summary: Implement support for tasks that modify sources
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: API
Depends on: 152938
Blocks:
  Show dependency tree
 
Reported: 2008-11-06 13:19 UTC by Vitezslav Stejskal
Modified: 2009-02-19 20:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2008-11-06 13:19:17 UTC
The infrastructure has to support tasks that compute a diff of changes that can later be applied to sources. A typical
usecase is refactoring when a refactoring task collects changes that has to be done in potentially multiple sources and
returns these changes in some form to the caller, which can than preview the changes and eventually commit them (ie
apply them to the sources).
Comment 1 Dusan Balek 2008-11-14 14:57:57 UTC
For now, I have modified the existing Java infrastructure support for modifications (WorkingCopy and ModificationResult)
to work over the new Parsing API. We could generalize ModificationResult later if some other languages implement their
supports for modifications.
Comment 2 Marian Mirilovic 2008-12-04 15:39:48 UTC
http://wiki.netbeans.org/IssueLifeCycle#section-IssueLifeCycle-EvaluatingIssues
LATER also this resolution can't be used for bugs with P1,P2 priority
Comment 3 Dusan Balek 2008-12-05 10:54:19 UTC
OK - marking it FIXED for now.