|
|
|
|
|
Re: How can I preselect an WikiText-Format in RepositorySettings? [message #597275 is a reply to message #67493] |
Wed, 01 April 2009 15:55  |
Eclipse User |
|
|
|
Sven Krzyzak wrote:
> For the Redmine Mylyn-Connector, i would like to preselect the
> Textile-Format in RepositorySettingsPage. How can I do this?
Sven, you'll find the setting under 'Task Editor Settings' in the task
repository properties dialog.
Mylyn will adopt the markup language that best suits your repository
connector by default. What type of repository are you connecting to?
> And is it possible to hide the other WikiText-Formats?
I'm not sure what you mean by that. Can you elaborate?
|
|
|
Re: How can I preselect an WikiText-Format in RepositorySettings? [message #597287 is a reply to message #67641] |
Wed, 01 April 2009 17:50  |
Eclipse User |
|
|
|
David Green schrieb:
> Sven Krzyzak wrote:
>> For the Redmine Mylyn-Connector, i would like to preselect the
>> Textile-Format in RepositorySettingsPage. How can I do this?
>
> Sven, you'll find the setting under 'Task Editor Settings' in the task
> repository properties dialog.
>
> Mylyn will adopt the markup language that best suits your repository
> connector by default. What type of repository are you connecting to?
>
>> And is it possible to hide the other WikiText-Formats?
>
> I'm not sure what you mean by that. Can you elaborate?
I'm working at Mylyn-Connector for Redmine.
Currently, if someone edited the settings of repository, he have to
select the right markup language under 'Task Editor Settings'.
But not everyone user knows, that Redmine uses the Textile markup language.
So i want, that users only can select between Plain-Text and Textile.
Is this possible - and how?
Thanks
Sven
|
|
|
Re: How can I preselect an WikiText-Format in RepositorySettings? [message #597329 is a reply to message #67660] |
Thu, 02 April 2009 13:06  |
Eclipse User |
|
|
|
Sven Krzyzak wrote:
> Currently, if someone edited the settings of repository, he have to
> select the right markup language under 'Task Editor Settings'.
>
> But not everyone user knows, that Redmine uses the Textile markup language.
adding the following to your plugin.xml should associate Textile with
your repository so that your users do not have to alter this setting:
<extension
point="org.eclipse.mylyn.tasks.ui.taskEditorExtensions">
<repositoryAssociation
connectorKind="redmine"
taskEditorExtension=" org.eclipse.mylyn.wikitext.tasks.ui.editor.textileTaskEditor Extension ">
</repositoryAssociation>
</extension>
Note that you may need to alter the connectorKind to correspond to your
connector.
>
> So i want, that users only can select between Plain-Text and Textile.
>
> Is this possible - and how?
There's no way that I'm aware of to limit these selections. I believe
that there is a way for connector UIs to alter the appearance of the
repository properties dialog, though I'm the wrong guy to answer on
that. A good place to start is the integrator reference:
http://wiki.eclipse.org/index.php/Mylyn/Integrator_Reference
|
|
|
|
Powered by
FUDForum. Page generated in 0.30895 seconds