Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Ideas for navigation from table cells?
Ideas for navigation from table cells? [message #486341] Thu, 17 September 2009 06:57 Go to next message
Eitan  is currently offline Eitan
Messages: 4
Registered: July 2009
Junior Member
Hi,
I need a UI which allows to edit a cell inside a table and also to
navigate from that cell, similar to the behavior of input fields in the
plugin editor which provide navigaiton from the labels.

The cell should allow the user:

1. Inplace editing (and content assist)

2. Create a new object

3. Navigate to the object

Any ideas?

Thanks
Re: Ideas for navigation from table cells? [message #486352 is a reply to message #486341] Thu, 17 September 2009 07:06 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5003
Registered: July 2009
Senior Member
JFace + Eclipse Databinding provides all to you:
* CellEditor for editing (e.g. content assisstant shown in [1])

* Cell Navigation for navigation shown in [2]

* Not sure what you mean with Object creation but I guess you should use
the Commands Framework for this purpose and e.g. use the Eclipse
Databinding Support for JFace Viewers

Tom

[1] http://wiki.eclipse.org/JFaceSnippets#Snippet060TextCellEdit orWithContentProposal
[2] http://wiki.eclipse.org/JFaceSnippets#Snippet058CellNavigati onIn34

Eitan schrieb:
> Hi,
> I need a UI which allows to edit a cell inside a table and also to
> navigate from that cell, similar to the behavior of input fields in the
> plugin editor which provide navigaiton from the labels.
>
> The cell should allow the user:
>
> 1. Inplace editing (and content assist)
>
> 2. Create a new object
>
> 3. Navigate to the object
>
> Any ideas?
>
> Thanks
>
Re: Ideas for navigation from table cells? [message #486394 is a reply to message #486352] Thu, 17 September 2009 09:51 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
Or at the swt level see:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet96. java
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet88. java
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet124 .java

Grant


"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:h8t57f$q8v$1@build.eclipse.org...
> JFace + Eclipse Databinding provides all to you:
> * CellEditor for editing (e.g. content assisstant shown in [1])
>
> * Cell Navigation for navigation shown in [2]
>
> * Not sure what you mean with Object creation but I guess you should use
> the Commands Framework for this purpose and e.g. use the Eclipse
> Databinding Support for JFace Viewers
>
> Tom
>
>
[1] http://wiki.eclipse.org/JFaceSnippets#Snippet060TextCellEdit orWithContent
Proposal
> [2] http://wiki.eclipse.org/JFaceSnippets#Snippet058CellNavigati onIn34
>
> Eitan schrieb:
> > Hi,
> > I need a UI which allows to edit a cell inside a table and also to
> > navigate from that cell, similar to the behavior of input fields in the
> > plugin editor which provide navigaiton from the labels.
> >
> > The cell should allow the user:
> >
> > 1. Inplace editing (and content assist)
> >
> > 2. Create a new object
> >
> > 3. Navigate to the object
> >
> > Any ideas?
> >
> > Thanks
> >
Re: Ideas for navigation from table cells? [message #487154 is a reply to message #486341] Tue, 22 September 2009 04:10 Go to previous message
Eitan  is currently offline Eitan
Messages: 4
Registered: July 2009
Junior Member
Hi Tom and Grant,
Thanks for your examples.
I didn't explain myself correctly. What I meant by navigation was to click on the cell and open another editor. For example I have the name of a class which I can edit inplace but also I want to be able to open it in another editor. (Navigate to that class) Like in the plug-in editor which allows you to navigate from a input field by clicking the label.

Do you have an example for such a use case?

Thanks,
Eitan
Previous Topic:JFace DecorationField and JASW issue!!!! Follow up
Next Topic:Re: A product form multiple platforms
Goto Forum:
  


Current Time: Wed Apr 16 00:43:37 EDT 2014

Powered by FUDForum. Page generated in 0.02269 seconds