Re: Alternative UI of Project Explorer

Svata Dedic <[email protected]> Wed, 21 May 2003 20:48:19 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Organization CollabNet Hosting
Message-ID <[email protected]>
Martin Ryzl wrote:
> 
> hmmm, I thought that curently selected project (visible) _is_ active
> project.
> 
Yes, in the prototype, the project visible in the Project Explorer is 
always active.

[please fork another thread for the following issue on nbui@ it is a 
general issue]
> The problem appears when you have another context, in this case
> projects. We invented Active project which is a workaround for that but
> it doesn't solve the real cause of problemn which is inconsistence in
> actions.

No, active project is not a workaround, it is rather an explicit context 
selection. There are valid use cases, that work on current context 
(selection, focus) - like Compile <file> - and also valid use cases that 
require static (preselected, explicit) context - Execute <specific 
profile> or Build <specific project>.

> from the global should show user the context. For example, every project
> related action would display project chooser, etc. Now you can say - hey

I think such chooser would look very weird. For simplicity, each such 
action would need to appear as a pair:
Build [default-project-name
Build >
	Project A
	Project B

which would make the menu look very strange.

-Svata