diff --git a/snprc_scheduler/src/org/labkey/snprc_scheduler/SNPRC_schedulerModule.java b/snprc_scheduler/src/org/labkey/snprc_scheduler/SNPRC_schedulerModule.java index e1eb0046..5f904d79 100644 --- a/snprc_scheduler/src/org/labkey/snprc_scheduler/SNPRC_schedulerModule.java +++ b/snprc_scheduler/src/org/labkey/snprc_scheduler/SNPRC_schedulerModule.java @@ -2,7 +2,6 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import org.labkey.api.data.Container; import org.labkey.api.data.ContainerManager; import org.labkey.api.ehr.EHRService; import org.labkey.api.module.DefaultModule; @@ -19,7 +18,6 @@ import org.labkey.api.view.Portal; import org.labkey.api.view.ViewContext; import org.labkey.api.view.WebPartFactory; -import org.labkey.api.view.WebPartView; import org.labkey.filters.ContentSecurityPolicyFilter; import org.labkey.snprc_scheduler.security.SNPRC_schedulerAdminRole; import org.labkey.snprc_scheduler.security.SNPRC_schedulerEditorsRole; @@ -63,7 +61,7 @@ protected Collection createWebPartFactories() webPartFactories.add(new BaseWebPartFactory("SNPRC Scheduler", WebPartFactory.LOCATION_BODY, WebPartFactory.LOCATION_RIGHT) { @Override - public WebPartView getWebPartView(@NotNull ViewContext portalCtx, @NotNull Portal.WebPart webPart) + public SchedulerWebPart getWebPartView(@NotNull ViewContext portalCtx, @NotNull Portal.WebPart webPart) { return new SchedulerWebPart(); } @@ -89,8 +87,8 @@ protected void init() // There are two versions of bootstrap in the main app for this module so the css for bootstrap 3.3.7 is brought in via CDN instead of NPM. // Register the external CDN sources for CSP filters. - ContentSecurityPolicyFilter.registerAllowedSources(Directive.Style, "bs_style", "https://maxcdn.bootstrapcdn.com/bootstrap/"); - ContentSecurityPolicyFilter.registerAllowedSources(Directive.Font, "bs_font", "https://maxcdn.bootstrapcdn.com/bootstrap/"); + ContentSecurityPolicyFilter.registerAllowedSources("bs_style", Directive.Style, "https://maxcdn.bootstrapcdn.com/bootstrap/"); + ContentSecurityPolicyFilter.registerAllowedSources("bs_font", Directive.Font, "https://maxcdn.bootstrapcdn.com/bootstrap/"); } @Override @@ -127,16 +125,6 @@ public QuerySchema createSchema(final DefaultSchema schema, Module module) // } } - - - - @Override - @NotNull - public Collection getSummary(Container c) - { - return Collections.emptyList(); - } - @Override @NotNull public Set getSchemaNames()