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 42436 - Do not create so many actions in SystemNewFile
Summary: Do not create so many actions in SystemNewFile
Status: CLOSED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-04-25 16:58 UTC by Jaroslav Tulach
Modified: 2006-03-24 09:46 UTC (History)
1 user (show)

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 Jaroslav Tulach 2004-04-25 16:58:20 UTC
During investigation of issue 42244 I concluded
that the Actions.SystemNewFile is not implemented
optimally. It creates createContextAware action
everytime a selection changes. That is wrong as
cloning of action is not cheap operation.

To improve - extend CallableSystemAction and
always delegete to your delegate. In
createContextAware method again just delegate.
Comment 1 _ ttran 2004-04-25 22:55:58 UTC
closing as invalid, this bug should continued to be tracked under
issue 42244
Comment 2 Marian Mirilovic 2005-07-12 10:08:40 UTC
closed