Class PerspectiveDialog

All Implemented Interfaces:
Serializable, ListModel

public class PerspectiveDialog extends Dialog
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getHtmlTemplate

      @Deprecated public String getHtmlTemplate()
      Deprecated.
      Should define an html template for perspectives instead
    • setHtmlTemplate

      @Deprecated public void setHtmlTemplate(String htmlTemplate)
      Deprecated.
      Should define an html template for perspectives instead
    • getInitialColumns

      @Deprecated public Set<Object> getInitialColumns()
      Deprecated.
      Should define initial columns for perspectives instead
    • getPerspectives

      public List<Perspective> getPerspectives()
    • getColumnGroups

      public List<ColumnGroup> getColumnGroups()
    • getPerspectivesCopies

      public List<Perspective> getPerspectivesCopies()
      Get copies of perspectives.
      Returns:
      list of perspectives
    • verify

      public boolean verify()
      Verify dialog by getting the error message. If the error message is empty the dialog is valid and the method returns true. If the error message is not empty the dialog is invalid, and the error message is displayed in an error dialog and the method returns false.
      Returns:
      true if dialog is valid, otherwise false
    • checkIfLongRunningQuery

      public boolean checkIfLongRunningQuery()
      Determine whether the query should be run as a long query which implies that the results of the query will not be streamed to the SM user but instead the results are saved to a directory of the user´s choice.
      Returns:
      true if the query is a long running query, otherwise false
    • setReportViewer

      public void setReportViewer(ReportViewer container)
    • addNewReportToViewer

      public void addNewReportToViewer()
    • getReportCommands

      public List<org.gorpipe.gor.model.ReportCommand> getReportCommands()
      Get the report command list.
      Returns:
      the report command list
    • getDialogCategory

      public String getDialogCategory()
      Get the dialog category the dialog belongs to.
      Returns:
      the dialog category
    • getImageColor

      public Color getImageColor()
      Get the dialog image color.
      Returns:
      the dialog image color
    • getFadeInImageColor

      public Color getFadeInImageColor()
      Get the dialog fade in image color.
      Returns:
      the dialog fade in image color
    • getArgumentMap

      public Map<String,Argument> getArgumentMap()
      Get argument map.
      Returns:
      the argument map
    • setArgumentValues

      public void setArgumentValues(Map<String,ArgumentContent> argName2Content)
      Set values for arguments.
      Parameters:
      argName2Content - argument name to value map
    • setArgumentValues

      public void setArgumentValues(Path path) throws IOException
      Read argument values from file and set.
      Parameters:
      path - thepath of the file to read argument values from
      Throws:
      IOException
    • saveArgumentValues

      public void saveArgumentValues(Path selFilePath)
    • storingAllowed

      public boolean storingAllowed()
    • getDialogsFilePath

      public Path getDialogsFilePath()
    • setDialogsFilePath

      public void setDialogsFilePath(Path dialogsFilePath)