public Presenter(IModelProvider model, IMenuHandler menuHandler, QuickButtonModule quickButtonModule) { this.model = model; this.menuHandler = menuHandler; quickButtonModule.RegisterDefaultButton(new QuickButton( "ghdDocument", 6, true, "Documents", "Interface\\Icons\\INV_Misc_Book_08", ShowDocumentMenu, AddOnReference.GHD)); }
public Presenter(IModelProvider model, SupportedFields supportedFields, QuickButtonModule buttonModule) { this.model = model; this.supportedFields = supportedFields; buttonModule.RegisterDefaultButton(new QuickButton( "ghfProfile", 5, true, "GHF - My Profile", "Interface\\Icons\\Spell_Misc_EmotionHappy", ShowCharacterMenu, AddOnReference.GHF)); var targetDetailsUi = ModuleFactory.GetM <TargetDetails>(); new TargetProfileMenu(this.model, targetDetailsUi); }