Reputation: 760
I was able to produce an add-in, which provides two user interfaces. However they are shown as tabs in the Add-Ins window. Earlier I worked with a single control and this one has been shown in its own window.
They both have different GUIDs and are registered COM objects. I initiate like this:
control1 = GuiManager.Repository.AddWindow("Quick Interface Editor", "QuickInterfaceEditor.QuickInterfaceEditorControl") as QuickInterfaceEditorControl;
control2 = GuiManager.Repository.AddWindow("Tagged Values Editor", "TaggedValuesEditor.TaggedValuesEditorControl") as TaggedValuesEditorControl;
Is there a way to bring both tabs to their own windows? Or at least replace the "Add-Ins" title by my add-in's name?
Upvotes: 1
Views: 43
Reputation: 13784
There are basically three ways to show a window as an add-in
This adds an add-in window in the add-ins docked window. If this is the only add-in window that uses this section, than the docked window will get the title from the add-in window.
If there are multiple add-ins, the title will be Add-Ins and each add-in will get a tab, like you noticed with your add-ins.
This adds a window to the main diagram space
This allows you to show a model dialog, or regular window on top of EA's GUI
Upvotes: 3