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 97377 - Application Actions - Actions in Project are not loaded if no class is opened
Summary: Application Actions - Actions in Project are not loaded if no class is opened
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Joshua Marinacci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-07 13:34 UTC by Jana Maleckova
Modified: 2007-08-02 13:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
97377 (66.97 KB, image/png)
2007-07-23 16:46 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-03-07 13:34:32 UTC
NetBeans IDE Dev (Build 070305)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
============
1. have opened IDE with no projects and with clear userdir
2. open some project (JDA with actions)
3. open Application Actions Editor

No action is loaded in Editor. And I think there should be all actions from
project. They appears only when some class from project is opened.
Comment 1 Joshua Marinacci 2007-03-13 03:43:54 UTC
The global action editor currently does not have the ability to know when a project has been opened. 
Currently it only listens for changes to the active top component and then looks for the form model. It 
should watch for project open events and be able to extract the actions from the project itself rather than 
only from forms.
Comment 2 Joshua Marinacci 2007-04-17 03:50:53 UTC
This is fixed now.
Comment 3 Jana Maleckova 2007-05-18 12:23:14 UTC
NetBeans IDE Dev (Build 200705161800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

I noticed the same behavior as is described above. Means - no actions are listed
in Application Action Editor till some form class is not open
Comment 4 Joshua Marinacci 2007-06-01 21:36:44 UTC
This is fixed now.  The GlobalActionPanel will check for all open projects when it starts up.
Comment 5 Jana Maleckova 2007-07-23 16:45:31 UTC
Product Version: NetBeans IDE Dev (Build 070723) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows
XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
simple usecase
1. create JDA - view class is automatically opened
application action editor is not opened
2. restart IDE
3. open Application Action Editor
=> result is visible on screen shot - no actions are listed there
Comment 6 Jana Maleckova 2007-07-23 16:46:22 UTC
Created attachment 45533 [details]
97377
Comment 7 Joshua Marinacci 2007-08-01 23:58:03 UTC
fix for http://www.netbeans.org/issues/show_bug.cgi?id=97377
the projects and classes combos will be completely refreshed the first time the Application Actions view is opened
Comment 8 Jana Maleckova 2007-08-02 13:41:28 UTC
verified on

Product Version: NetBeans IDE Dev (Build 070802) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b03 System: Windows
XP version 5.1 running on x86; Cp1252; en_GB (nb)