Apache OpenOffice (AOO) Bugzilla – Issue 12001
confusing menu contained within NetBeans
Last modified: 2003-06-18 11:57:29 UTC
SFrameworkInstall.jar.27.02.2003, Solaris and windows NetBeans 3.4. After successfully creating a parcel recipe, right click on the contents directory of the parcel recipe. The user is be provided with the option to add an empty script or a new parcel recipe. The user should only be provided with the option to add a new empty script. Futher the user should only be presented with the option to add an empty script of the same type, i.e. if the parcel recipe is java script the user should only be allowed to add an empty java script. Similarly if the parcel recipe is beanshell, the user should only be given the option to add a beanshell file. Currently if the user adds a script of a different type, i.e. a beanshell in a java script parcel recipe, the script does not get included in the build proces..
Assign to Tom to fix
This can be fixed by using the NewAction instead of the NewTemplateAction for the Contents folder. This allows you to limit the set of new types that can be added, however it is not trivial to implement and so I am marking it as resolved later for now so it can be revisited in the future.
Reopening this to be fixed in the 0.3 release
Fixed this by changing the NewTemplateAction to a NewAction and adding the appropriate methods to the ParcelContentsFolder class to generate an Add New Script menu item and to create a new script based on the language of the Parcel. Should be fixed in the Scripting Framework 0.3 RC5 build
I have tested this with NetBeans3.4, SFrameworkInstall ed0.3 rc4 OO.org on Solaris, the problem is not fixed. After user successfully creates a new parcel recipe, they still have 1. the option to add a new parcel recipe to the existing parcel recipe 2. add a different script type to the existing parcel recipe. reopening issue.
Yes it is still broken in the RC4 build, this is fixed in the RC5 build.
verified issue is fixed in SF ed-0.3 rc6 on solaris and windows closing issue