Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Multiselect in outline view and Property sheet

Please open an enhancement request against Platform UI, and indicate 
whether you're providing your own outline page and property sheet page, or 
if you're expecting this to work with pre-written pages, or the default 
property sheet page.
https://bugs.eclipse.org/bugs/enter_bug.cgi

Nick




"Zenil" <zenil123@xxxxxxxxxxxxxx> 
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
05/04/2004 01:49 AM
Please respond to
platform-ui-dev


To
platform-ui-dev@xxxxxxxxxxx
cc

Subject
[platform-ui-dev] Multiselect in outline view and Property sheet






Hi All,

I tried posting the newsgroups ,but no help there..

I have a problem where the user mulitselects elements in the outline
view.The corresponding property sheet shows the common properties of the 
selected element. For these common properties,eclipse shows the values of 
the FIRST selected element.My problem is this:
Lets say I have a name property with a TextDescriptor,when the user enters 
a new name ,i do some validations..Based on the validation,the user is 
allowed to change the name,otherwise it is reverted back to original 
value..Now for multi-selected elements with names T1,T2,the property sheet 
will show T1. As user edits the value, how to validate for BOTH the 
selected elements ??As of now validation happens for only T1(which is the 
first selected element)..What i would like to see is as user 
modifies,validation should be performed for BOTH the elements,and if any 
one fails,user is not allowed to change the values.
[Event though validation happens for only one,if  press ENTER,the new 
value is updated for all the selected elements..There is  a contradiction 
in behavior..]

I am looking for some suitable design by which i can get this done via
the property sheet framework??

Rgds,
Zenil







Back to the top