Issue 12001 - confusing menu contained within NetBeans
Summary: confusing menu contained within NetBeans
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 644
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: tomaisoc
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-03 16:55 UTC by robert.kinsella
Modified: 2003-06-18 11:57 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description robert.kinsella 2003-03-03 16:55:49 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..
Comment 1 Unknown 2003-03-04 07:29:40 UTC
Assign to Tom to fix
Comment 2 tomaisoc 2003-03-06 10:53:43 UTC
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.
Comment 3 tomaisoc 2003-06-06 12:32:48 UTC
Reopening this to be fixed in the 0.3 release
Comment 4 tomaisoc 2003-06-12 14:41:29 UTC
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
Comment 5 robert.kinsella 2003-06-13 11:46:34 UTC
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.
Comment 6 tomaisoc 2003-06-13 12:30:26 UTC
Yes it is still broken in the RC4 build, this is fixed in the RC5 build.
Comment 7 robert.kinsella 2003-06-18 11:57:29 UTC
verified issue is fixed in SF ed-0.3 rc6 on solaris and windows
closing issue