public SharedItemOptionsResourceGroup()
     : base("SharedItemOptionsExtensionGroup")
 {
     AddFile("SharedItemOptionsExtension.js");
     // AddFile<LocalizeCommenterCommandSet>();
     Dependencies.AddLibraryJQuery();
 }
 public LocalizeCommenterTabPageResourceGroup()
     : base("LocalizeCommenterTabPageResources")
 {
     AddFile("LocalizeCommenterTabPage.js");
     AddFile("LocalizeCommenter.css");
     AddWebApiProxy();
     Dependencies.AddLibraryJQuery();
 }
예제 #3
0
        public TridionVisionDashboardResourceGroup()
        {
            AddFile("TridionVisionDashboard.js");

            Dependencies.AddLibraryJQuery();

            AddWebApiProxy();
        }
 public ViewWorkflowGroup()
 {
     AddFile("ViewWorkflow.js");
     AddFile("ViewWorkflow.css");
     AttachToView("ViewWorkflow.aspx");
     AddWebApiProxy();
     Dependencies.AddLibraryJQuery();
     Dependencies.Add("Tridion.Web.UI.Editors.CME");
 }
예제 #5
0
 public PublishedEnvironmentGroup()
 {
     AddFile("PublishedEnvironment.js");
     AddFile("PublishedEnvironment.css");
     AttachToView("PublishedEnvironment.aspx");
     AddWebApiProxy();
     Dependencies.AddLibraryJQuery();
     Dependencies.Add("Tridion.Web.UI.Editors.CME");
 }
        /// <summary>
        /// Constructor
        /// </summary>
        public ItemsPanelSearchResourceGroup()
        {
            // When adding files you only need to specify the filename and not full path
            AddFile("sieve.js");
            AddFile("ItemsPanelSearch.js");
            AddFile("ItemsPanelSearchStyle.css");

            AddWebApiProxy();
            // Adding the JQuery dependancy
            Dependencies.AddLibraryJQuery();
            //Dependencies.AddAlchemyCore();
        }
예제 #7
0
        public TridionVisionOptionsPopupResourceGroup()
        {
            AddFile("SearchImagesPopup.js");
            AddFile("SearchImagesPopup.css");

            Dependencies.AddLibraryJQuery();
            Dependencies.Add("Tridion.Web.UI.Editors.CME");
            Dependencies.Add("Tridion.Web.UI.Editors.CME.commands");

            AddWebApiProxy();

            AttachToView("SearchImagesPopup.aspx");
        }
        public GoToLocationResouceGroup()
        {
            AddFile("GotoLocationCommands.js");
            AddFile("GoToLocation.css");
            AddFile <GoToLocationCommandSet>();
            Dependencies.AddAlchemyCore();

            // Adding Web API Proxy
            //AddWebApiProxy();

            // Adding the JQuery dependancy
            Dependencies.AddLibraryJQuery();
        }
        /// <summary>
        /// Constructor
        /// </summary>
        public UsageReportPopupResourceGroup()
        {
            // When adding files you only need to specify the filename and not full path
            AddFile("UsageReportPopup.js");
            AddFile("UsageReportPopup.css");

            // The above is just a convenient way of doing the following... AddFile(FileTypes.Reference, "Alchemy.Plugins.HelloWorld.Commands.HelloCommandSet");

            // Since Alchemy comes with several libraries I can reference JQuery this way and avoid having to add it myself
            Dependencies.AddLibraryJQuery();

            // If you want this resource group to contain the js proxies to call your webservice, call AddWebApiProxy()
            AddWebApiProxy();
        }
예제 #10
0
        public LocalizeCommenterPopUpResourceGroup() : base("LocalizeCommenterPopUpResources")
        {
            AddFile("LocalizeCommenterPopUp.js");
            AddFile("LocalizeCommenter.css");

            // Since Alchemy comes with several libraries I can reference JQuery this way and avoid having
            // to add it myself
            Dependencies.AddLibraryJQuery();
            Dependencies.Add("Tridion.Web.UI.Editors.CME");
            Dependencies.Add("Tridion.Web.UI.Editors.CME.commands");

            AddWebApiProxy();

            AttachToView("LocalizeCommenterPopUp.aspx");
        }
        public TranslatorResourceGroup()
        {
            // only the filename of our JS files are needed
            AddFile("TranslatorCommand.js");
            // only the filename of our CSS files are needed
            //AddFile("Styles.css");
            // add genertic type param to reference our command set
            AddFile <TranslatorCommandSet>();

            // Adds the web api proxy JS to this resource group... this allows us to call
            // our webapi service without any 3rd party libs.
            AddWebApiProxy();
            Dependencies.AddLibraryJQuery();

            // AddWebApiProxy() includes Alchemy.Core as a dependency already... if not using
            // the proxy you can remove the comment from below.

            // Dependencies.AddAlchemyCore();
        }
예제 #12
0
        /// <summary>
        /// Constructor
        /// </summary>
        public LatestItemsPopupResourceGroup()
        {
            // When adding files you only need to specify the filename and not full path
            AddFile("LatestItemsPopup.js");
            AddFile("LatestItemsPopup.css");

            // The above is just a convenient way of doing the following...
            // AddFile(FileTypes.Reference, "Alchemy.Plugins.HelloWorld.Commands.HelloCommandSet");

            // Since Alchemy comes with several libraries I can reference JQuery this way and avoid having
            // to add it myself
            Dependencies.AddLibraryJQuery();

            // If you want this resource group to contain the js proxies to call your webservice, call AddWebApiProxy()
            AddWebApiProxy();

            Dependencies.Add("Tridion.Web.UI.Editors.CME");
            Dependencies.Add("Tridion.Web.UI.Editors.CME.commands");

            // Let's add our resources to the WhereUsedPlusGroup.aspx page.  This will inject
            // the resources without us having to manually edit it.
            AttachToView("LatestItems.aspx");
        }