Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsShow View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/526325/#msg_526325
Originally posted by: n.n.nnn
There are times when the declarative nature of having views listed
in plugin.xml gets in the way of application logic. Will the programmer
in e4 be able to specify when a view should not be shown on the
Window | Show View menu?]]>2010-04-09T16:35:20-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/573862/#msg_573862
the UI (question is what to do if the user closes the view => it should
be probably not closeable :-).
The e4 equivalent of a view-contribution in e3 is a part descriptor
which is used to create the real UI element.
Another probably more interesting thing is that I think one would NOT
contribute a such a view but make it up programmically (e.g. when the
user presses a button, ... ) - just in time :-)
Tom
Am 09.04.10 18:35, schrieb Dilton:
> There are times when the declarative nature of having views listed
> in plugin.xml gets in the way of application logic. Will the programmer
> in e4 be able to specify when a view should not be shown on the
> Window | Show View menu?]]>Thomas Schindl2010-04-09T16:48:22-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/526328/#msg_526328
the UI (question is what to do if the user closes the view => it should
be probably not closeable :-).
The e4 equivalent of a view-contribution in e3 is a part descriptor
which is used to create the real UI element.
Another probably more interesting thing is that I think one would NOT
contribute a such a view but make it up programmically (e.g. when the
user presses a button, ... ) - just in time :-)
Tom
Am 09.04.10 18:35, schrieb Dilton:
> There are times when the declarative nature of having views listed
> in plugin.xml gets in the way of application logic. Will the programmer
> in e4 be able to specify when a view should not be shown on the
> Window | Show View menu?]]>Thomas Schindl2010-04-09T16:48:22-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/573886/#msg_573886
> Well you can contribute simply a Part in e4 which is only a member of
> the UI (question is what to do if the user closes the view => it should
> be probably not closeable :-).
>
> The e4 equivalent of a view-contribution in e3 is a part descriptor
"PartDescriptor" is the class name
> which is used to create the real UI element.
>
> Another probably more interesting thing is that I think one would NOT
> contribute a such a view but make it up programmically (e.g. when the
> user presses a button, ... ) - just in time :-)
>
> Tom
>
>
> Am 09.04.10 18:35, schrieb Dilton:
>> There are times when the declarative nature of having views listed
>> in plugin.xml gets in the way of application logic. Will the programmer
>> in e4 be able to specify when a view should not be shown on the
>> Window | Show View menu?
>]]>Thomas Schindl2010-04-09T16:49:18-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/526329/#msg_526329
> Well you can contribute simply a Part in e4 which is only a member of
> the UI (question is what to do if the user closes the view => it should
> be probably not closeable :-).
>
> The e4 equivalent of a view-contribution in e3 is a part descriptor
"PartDescriptor" is the class name
> which is used to create the real UI element.
>
> Another probably more interesting thing is that I think one would NOT
> contribute a such a view but make it up programmically (e.g. when the
> user presses a button, ... ) - just in time :-)
>
> Tom
>
>
> Am 09.04.10 18:35, schrieb Dilton:
>> There are times when the declarative nature of having views listed
>> in plugin.xml gets in the way of application logic. Will the programmer
>> in e4 be able to specify when a view should not be shown on the
>> Window | Show View menu?
>]]>Thomas Schindl2010-04-09T16:49:18-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/573916/#msg_573916
completely in a NONE declarative way probably something we need to make
us self aware from time to time.
Tom
Am 09.04.10 18:49, schrieb Tom Schindl:
> Am 09.04.10 18:48, schrieb Tom Schindl:
>> Well you can contribute simply a Part in e4 which is only a member of
>> the UI (question is what to do if the user closes the view => it should
>> be probably not closeable :-).
>>
>> The e4 equivalent of a view-contribution in e3 is a part descriptor
>
> "PartDescriptor" is the class name
>
>> which is used to create the real UI element.
>>
>> Another probably more interesting thing is that I think one would NOT
>> contribute a such a view but make it up programmically (e.g. when the
>> user presses a button, ... ) - just in time :-)
>>
>> Tom
>>
>>
>> Am 09.04.10 18:35, schrieb Dilton:
>>> There are times when the declarative nature of having views listed
>>> in plugin.xml gets in the way of application logic. Will the programmer
>>> in e4 be able to specify when a view should not be shown on the
>>> Window | Show View menu?
>>
>]]>Thomas Schindl2010-04-09T16:51:01-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/526330/#msg_526330
completely in a NONE declarative way probably something we need to make
us self aware from time to time.
Tom
Am 09.04.10 18:49, schrieb Tom Schindl:
> Am 09.04.10 18:48, schrieb Tom Schindl:
>> Well you can contribute simply a Part in e4 which is only a member of
>> the UI (question is what to do if the user closes the view => it should
>> be probably not closeable :-).
>>
>> The e4 equivalent of a view-contribution in e3 is a part descriptor
>
> "PartDescriptor" is the class name
>
>> which is used to create the real UI element.
>>
>> Another probably more interesting thing is that I think one would NOT
>> contribute a such a view but make it up programmically (e.g. when the
>> user presses a button, ... ) - just in time :-)
>>
>> Tom
>>
>>
>> Am 09.04.10 18:35, schrieb Dilton:
>>> There are times when the declarative nature of having views listed
>>> in plugin.xml gets in the way of application logic. Will the programmer
>>> in e4 be able to specify when a view should not be shown on the
>>> Window | Show View menu?
>>
>]]>Thomas Schindl2010-04-09T16:51:01-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/573955/#msg_573955
> Am 09.04.10 18:49, schrieb Tom Schindl:
> Probably one more note on this. An e4 application can be built
> completely in a NONE declarative way probably something we need to make
> us self aware from time to time.
>
> Tom
>
Agreed, in 3.x, we create all the views in our product using a special
module we wrote. It centers around first asking Eclipse to create
the view, then we update it, then we ask Eclipse to show it. In
other environments, you just create the window and update it then command
the OS to show it.
When the user picks a view from Window | Show View, we have a listener
which detects this, closes the erroneous view created by Eclipse
which can only draw from the declared information in plugin.xml and
we then create our view the way we want it.
For example, we limit some views to a certain numbers of instances.
Which reminds me, instance management in 3.x is difficult, we have
superimposed our own concept of a custom SecondaryID and even a
TertiaryID, so the view knows how to instantiate itself, what "mode"
it should come up in.
For very dynamic applications like ours, the combination of declarative
and dynamic is awkward so it is good to hear we have the ability
to be all dynamic in e4.
Dilton]]>Dilton McGowan II2010-04-12T14:04:57-00:00Re: Show View request
https://www.eclipse.org/forums/index.php/mv/msg/166064/526656/#msg_526656
> Am 09.04.10 18:49, schrieb Tom Schindl:
> Probably one more note on this. An e4 application can be built
> completely in a NONE declarative way probably something we need to make
> us self aware from time to time.
>
> Tom
>
Agreed, in 3.x, we create all the views in our product using a special
module we wrote. It centers around first asking Eclipse to create
the view, then we update it, then we ask Eclipse to show it. In
other environments, you just create the window and update it then command
the OS to show it.
When the user picks a view from Window | Show View, we have a listener
which detects this, closes the erroneous view created by Eclipse
which can only draw from the declared information in plugin.xml and
we then create our view the way we want it.
For example, we limit some views to a certain numbers of instances.
Which reminds me, instance management in 3.x is difficult, we have
superimposed our own concept of a custom SecondaryID and even a
TertiaryID, so the view knows how to instantiate itself, what "mode"
it should come up in.
For very dynamic applications like ours, the combination of declarative
and dynamic is awkward so it is good to hear we have the ability
to be all dynamic in e4.