Re: Alternative UI of Project Explorer

Martin Ryzl <[email protected]> Thu, 22 May 2003 11:21:32 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
Svata Dedic wrote:
> 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>.

provided there is no consistent model it is a workaround.

> 
>> 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.

it was just an example.

I think if there is no consistent model, we will always be solving 
problems like this one ... :(

-Martin

> 
> -Svata
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


-- 
_______________________________________________________
Martin Ryzl <[email protected]>
Software Engineer, Forte Tools
Sun Microsystems, Inc., Software Platforms and Products
Phone +420 233 009 130 (x49130), Fax   +420 233 009 299