Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [CommonNavigator] adding text to the navigator view
[CommonNavigator] adding text to the navigator view [message #313529] Fri, 16 March 2007 14:37 Go to next message
Eclipse UserFriend
Originally posted by: tcmsimoes.criticalsoftware.com

Hi all,

I have created my own navigator based on the CNF. Now i want to add the same
mechanism that the syncronize view has when it is empty.

I want to add a small text and add an "hyperlink" to an action if no
elements are on the navigator. It is exactly the same mechanism that the
Syncronize view has when it has nothing to update/commit and show a small
text with the "syncronize" word underlined and blue that you click and
performs the syncronize action.

Anyone has any ideas on how can this be achieved?

Thanks
Tiago
Re: [CommonNavigator] adding text to the navigator view [message #313532 is a reply to message #313529] Fri, 16 March 2007 15:21 Go to previous message
Eclipse UserFriend
Tiago,

The Synchronize view uses pieces of the CNF but does not declare a
navigator view in the plugin.xml. Instead, it uses CommonViewer
directly. We did this to get more flexibility to do things like showing
the text with hyperlinks when the view is empty.

Michael

Tiago Simões wrote:
> Hi all,
>
> I have created my own navigator based on the CNF. Now i want to add the same
> mechanism that the syncronize view has when it is empty.
>
> I want to add a small text and add an "hyperlink" to an action if no
> elements are on the navigator. It is exactly the same mechanism that the
> Syncronize view has when it has nothing to update/commit and show a small
> text with the "syncronize" word underlined and blue that you click and
> performs the syncronize action.
>
> Anyone has any ideas on how can this be achieved?
>
> Thanks
> Tiago
>
>
Previous Topic:Word Completion & Case Sensitivity
Next Topic:required library NOT missing
Goto Forum:
  


Current Time: Fri Jul 25 13:22:23 EDT 2025

Powered by FUDForum. Page generated in 0.04863 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top