Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » How can I preselect an WikiText-Format in RepositorySettings?
How can I preselect an WikiText-Format in RepositorySettings? [message #67493] Tue, 31 March 2009 18:29 Go to next message
Eclipse UserFriend
Originally posted by: sven.krzyzak.gmx.net

For the Redmine Mylyn-Connector, i would like to preselect the
Textile-Format in RepositorySettingsPage. How can I do this?

And is it possible to hide the other WikiText-Formats?

Sven
Re: How can I preselect an WikiText-Format in RepositorySettings? [message #67641 is a reply to message #67493] Wed, 01 April 2009 19:55 Go to previous messageGo to next message
David Green is currently offline David GreenFriend
Messages: 136
Registered: July 2009
Senior Member
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 #67660 is a reply to message #67641] Wed, 01 April 2009 21:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sven.krzyzak.gmx.net

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 #67764 is a reply to message #67660] Thu, 02 April 2009 17:06 Go to previous messageGo to next message
David Green is currently offline David GreenFriend
Messages: 136
Registered: July 2009
Senior Member
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
Re: How can I preselect an WikiText-Format in RepositorySettings? [message #67783 is a reply to message #67764] Thu, 02 April 2009 20:48 Go to previous message
Eclipse UserFriend
Originally posted by: sven.krzyzak.gmx.net

I thank you for your answer
Re: How can I preselect an WikiText-Format in RepositorySettings? [message #597275 is a reply to message #67493] Wed, 01 April 2009 19:55 Go to previous message
David Green is currently offline David GreenFriend
Messages: 96
Registered: July 2009
Member
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 21:50 Go to previous message
Sven Krzyzak is currently offline Sven KrzyzakFriend
Messages: 7
Registered: July 2009
Junior Member
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 17:06 Go to previous message
David Green is currently offline David GreenFriend
Messages: 96
Registered: July 2009
Member
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
Re: How can I preselect an WikiText-Format in RepositorySettings? [message #597335 is a reply to message #67764] Thu, 02 April 2009 20:48 Go to previous message
Sven Krzyzak is currently offline Sven KrzyzakFriend
Messages: 7
Registered: July 2009
Junior Member
I thank you for your answer
Previous Topic:An idea
Next Topic:Can't install Mylyn 3.2.0.I20090325-0500-e3x
Goto Forum:
  


Current Time: Fri Apr 26 22:58:00 GMT 2024

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

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

Back to the top