Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] How manpage plug-ins work?

On 18:10:38 Wednesday 28 September 2011 Wainer dos Santos Moschetta wrote:
> Hi,
> 
> Does anyone know how to use the Manpage plug-in?

Yes, I do :)

> 
> I couldn't find how to run it although I'm able to open the preference
> (window -> preferences-> Man page) and viewer (window -> show view ->
> other -> Man pages) windows.

I followed the Javadoc view pattern (I know it's not the same) to have no way 
to setting what to be shown except from code. It is really pretty basic 
(still) - open the view, set the man page to be shown. You can see 
http://shelled.svn.sourceforge.net/viewvc/shelled/trunk/net.sourceforge.shelled.ui/src/net/sourceforge/shelled/ui/commands/ShowManHandler.java?revision=107&view=markup 
for an example usage. Another option is to get stripped html page - see 
http://shelled.svn.sourceforge.net/viewvc/shelled/trunk/net.sourceforge.shelled.ui/src/net/sourceforge/shelled/ui/selection/ShellDocumentationProvider.java?revision=17&view=markup 
it's quite useful for tooltips and etc. 
Current target are other plugin developers wanting to use it to show manpages 
for parts of their work because I never found the time to work on UI things - 
like adding a way to set the man page to be shown, a man page browser that 
allows you browsing man pages and categories(like yelp and kde help center 
allows you), integration into Eclipse Help Center and etc. All of these are 
nice to have features that I can't sign for working on anytime soon but help 
is more than welcome and I'll kindly review and apply patches.

Regards,
Alexander Kurtakov



> 
> - Wainer
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Back to the top