I am maintaining a plugin (SubticketsPlugin) that has configuration values 
that are per-ticket-type. I'd like to improve the plugin to use the Options 
interface so that its configuration becomes editable through the IniAdmin 
plugin.

However, to do that properly, first of all I need to enumerate all 
available ticket types and I cannot find an api function for that.

Secondly, I need to detect addition of new ticket types. Had there been an 
extension point like the IMilestoneChangeListener it had been easy...

Suggestions on alternative ways to proceed are very welcome. Other plugins 
with per-ticket-type configuration could benefit too.

BTW, I'm aware of the discussion in https://trac.edgewall.org/ticket/11148 
which suggests the future existence of an ITypeChangeListener interface, 
but unfortunately that has not been integrated in the main line.

Thanks in advance.

T.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-dev+unsubscr...@googlegroups.com.
To post to this group, send email to trac-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to