Class ReportingResourceEditor

All Implemented Interfaces:
Locatable, ImageObserver, MenuContainer, Serializable, Accessible

public class ReportingResourceEditor extends ResourceEditor<ReportResource> implements Locatable
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • init

      protected void init(ReportResource report)
      Specified by:
      init in class ResourceEditor<ReportResource>
    • getDesignerContext

      public DesignerContext getDesignerContext()
    • isActive

      public boolean isActive()
    • getObjectForSave

      protected ReportResource getObjectForSave()
      Description copied from class: ResourceEditor
      Return the object that should be saved to represent this resource in the ProjectResource. Will be serialized using an XMLSerializer. Override save() to serialize in a different manner.
      Specified by:
      getObjectForSave in class ResourceEditor<ReportResource>
    • commit

      public void commit()
      Description copied from class: ResourceEditor
      Called when it's time to commit the resource being edited. Default implementation uses XML serialization. If you override, don't forget to call workspace.project().updateLock
      Overrides:
      commit in class ResourceEditor<ReportResource>
    • serializeResource

      protected void serializeResource(ProjectResourceBuilder builder, ReportResource resource) throws Exception
      Description copied from class: ResourceEditor
      Serialize the object and put the serialized file(s) and attribute(s) into the project resource builder. Default implementation is:
      builder.putData(serialize(object));
      Implementations don't need to bother setting the project's resourcePath, projectName, or applicationScope; those will be set automatically.
      Overrides:
      serializeResource in class ResourceEditor<ReportResource>
      Throws:
      Exception
    • getSelectedPanel

      public ReportingResourceEditor.ReportSubEditor getSelectedPanel()
    • showDataPanel

      public void showDataPanel()
    • showDesignPanel

      public void showDesignPanel()
    • showPreviewPanel

      public void showPreviewPanel()
    • showSchedulePanel

      public void showSchedulePanel()
    • isDataVisible

      public boolean isDataVisible()
    • isDesignVisible

      public boolean isDesignVisible()
    • isScheduleVisible

      public boolean isScheduleVisible()
    • isPreviewVisible

      public boolean isPreviewVisible()
    • isDesignOrPreviewVisible

      public boolean isDesignOrPreviewVisible()
    • getReportResource

      public ReportResource getReportResource()
    • getSampleData

      public SampleData getSampleData()
    • updateLastRun

      public void updateLastRun(Date lastRunDate)
    • locate

      public void locate(Location location)
      Specified by:
      locate in interface Locatable