tibco - Does the Spotfire API provides a CustomMenuGroup in the View menu? -
spotfire provides creating custommenugroup in tools menu. looks that:
public sealed class customtoolsaddin : addin { protected override void registertools(toolregistrar registrar) { base.registertools(registrar); custommenugroup menugroup = new custommenugroup("my menu sub group"); registrar.register(new mytool(), menugroup); } ... }
but instead of tools creating views , register that:
protected override void registerviews(viewregistrar registrar) { base.registerviews(registrar); registrar.register(typeof(control), typeof(custompanelmodel), typeof(custompanelui)); }
this works fine wondering if possible group our own views in custom group menu in views menu possible in tool menu. idea?
Comments
Post a Comment