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 54145 - Freeform project menu not according to UI Spec
Summary: Freeform project menu not according to UI Spec
Status: RESOLVED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://projects.netbeans.org/buildsys...
Keywords:
: 54143 (view as bug list)
Depends on:
Blocks: 54142 54146
  Show dependency tree
 
Reported: 2005-01-28 10:44 UTC by zikmund
Modified: 2005-03-14 17:47 UTC (History)
4 users (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 zikmund 2005-01-28 10:44:54 UTC
Build 200501271900

1) Have a Java freeform project
2) Open project's context menu
3) ERROR - it differs from UI spec
- 'Set Main Project' should be 'Set as Main Project'
- remove 'Open Required Projects'
- add 'Delete'
- add 'Tools >'
Comment 1 Tomas Zezula 2005-02-15 10:52:22 UTC
"Set Main Project' should be 'Set as Main Project'" is probably bug in
the UI Spec and WANTFIX since it is called 'Set Main Project" also in
J2SEProject. Or should it be changed everywhere to "Set as Main Project?"

remove 'Open Required Projects' - OK

add 'Delete' - Uf, this has to be a bug in UI Spec, very dangerous
action, what if the project is library one? May cause lots of problems
 to IDE.

- add 'Tools'  - really? There is no Tools on the J2SEProject.

Comment 2 jrojcek 2005-02-15 14:47:59 UTC
Tomas, wait please. We have to keep the UI consistent with J2SE project. The spec is wrong 
in this case. The spec should state this:

New                        >
----------------------------
Build Project
Clean & Build Project
Clean Project
Generate Javadoc for Project
----------------------------
Run Project
Debug Project
Test Project
----------------------------
...
<custom build targets>
...
----------------------------
Set as Main Project
Open Required Projects
Close Project
----------------------------
Find...
----------------------------
Properties

I am not sure about the "Set Main Project" vs. "Set as Main Project". John, could you please 
help us what is correct in this case? Thanks.

I will correct the spec.
Comment 3 jrojcek 2005-02-16 08:05:12 UTC
Adding Tomas to Cc. I am not sure you get my response (so that you don't remove/add 
those items that should/shouldn't be there :-). Please read the previous comment. I will 
updated the spec.
Comment 4 Tomas Zezula 2005-02-16 14:21:06 UTC
Thanks, I will wait till the UI Spec is updated.
Comment 5 jrojcek 2005-02-28 13:56:42 UTC
I've fixed the spec. I keep the "Set as Main Project" in the spec, because it's like that in all 
other specs. I am not sure why the implementation of all projects has "Set Main Project". I 
checked with Geertjan that "Set as Main Project" is better. We should either fix it in all 
projects or keep "Set Main Project" for now and change it after 4.1 (in all projects).

The new menu copied from the URL field:

New                        >
----------------------------
Build Project
Clean & Build Project
Clean Project
Generate Javadoc for Project
----------------------------
Run Project
Debug Project
Test Project
----------------------------
...
<custom build targets>
...
----------------------------
Set as Main Project
Close Project
----------------------------
Find...
----------------------------
Properties
Comment 6 zikmund 2005-02-28 13:58:14 UTC
Jano, 'Clean & Build' should be 'Clean and Build'.
Comment 7 jrojcek 2005-02-28 14:05:33 UTC
Corrected. "Clean & Build" replaced by "Clean and Build".
Comment 8 Tomas Zezula 2005-03-02 14:02:56 UTC
*** Issue 54143 has been marked as a duplicate of this issue. ***
Comment 9 Jesse Glick 2005-03-10 00:04:36 UTC
So what is still wrong?

Jano please put "Open Required Projects" back in the context menu in the spec -
it needs to be there for the same reason it needs to be in the context menu for
any project type which supports subprojects.
Comment 10 zikmund 2005-03-10 09:54:05 UTC
Jesse, how can anything be subproject of freeform project? I don't see any way
how to do it through UI. (my fault?)
Comment 11 Jesse Glick 2005-03-10 16:54:28 UTC
The freeform project customizer UI has no explicit list of subprojects - it is
computed automatically, when you specify a classpath entry which is the exported
artifact of another project. In project.xml, <subprojects> enumerates them.
Comment 12 Jesse Glick 2005-03-11 23:41:15 UTC
Nothing actually wrong that I am aware of.
Comment 13 jrojcek 2005-03-14 17:47:50 UTC
I've added back "Open Required Projects" to the spec.