Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nattable-dev] Find dialog improvements

Hi Tom,

sorry for the delay in answering. We are all quite busy at the moment. But in fact, I'm not sure what the question is. Are you planning to contribute your extension to NatTable?

I'm not that familiar with the SearchDialog, but regarding to your special options:
  • Which API changes did you need to perform to get the non-modal behaviour working? (Seems to me an easy one, as only another SearchAction needs to be created and binded, and of course it needs to be checked that the command handler reacts on that)
  • Option 6, allowing for a choice of RowSearchStrategy and ColumnSearchStrategy, how is it possible then to return to the GridSearchStrategy?
  • Option 7, of which hidable content are you speaking? Hidden columns? Well if you don't want the ColumnHideShowLayer to be asked, you should use the DataLayer of the body to be the context layer for the SearchDialog. This brings of course some other issues, as then column reordering isn't asked also and so the resulting cell coordinates wouldn't fit the current NatTable presentation. In fact I'm not quite sure about the use case for searching hidden information. What should happen if a hidden information is found? Making it visible again? Selecting the whole row? Referring to the existing platform FindReplaceDialog you are only able to search for things that you can see.

As I'm not sure what the question is, I hope my questions regarding your modifications will help thinking about your issues. Otherwise please be more precise in asking so we are able to help. :)

Greez,

Dirk


On Tue, Sep 25, 2012 at 11:30 PM, Hochstein Tom-R60874 <R60874@xxxxxxxxxxxxx> wrote:

[Moving this from the forum.]

 

Hi All,

 

I'm working on extending SearchDialog.java to include the following items (using the platform FindReplaceDialog.java as reference):

 

1. Scope 'All'

2. Scope 'Selection’

3. Option 'Whole word'

4. Option 'Incremental'

5. Option 'Regular expressions'

6. Option ‘Column first’, allowing for a choice of RowSearchStrategy and ColumnSearchStrategy

7. Option ‘Include hidden’, enabled for NatTable stacks with hidable content

8. Dialog settings persistence

9. Non-modal

 

Comments and suggestions are welcome. I’ve got a working implementation for most of this, but  I couldn’t find a way to add 7. Option ‘Include hidden’ and 9. Non-modal behavior without some API changes.

                                                                                                                                                                           

Tom

 

cid:image001.png@01CD9A3F.2A38E000


_______________________________________________
nattable-dev mailing list
nattable-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/nattable-dev



Back to the top