Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2294

Investigate: How to display different label below start screen images

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      The start screen images display images and a label underneath the images.

      This file:

      • ./core/common/src/main/resources/display_species.txt

      Lists images that are shown.

      Is there a way to control what label is shown underneath each image?

      For example, could we change the label "H. sapiens" to "IGB Helper"

      Our zoom account avatar is a screen shot of the H sapiens home screen shortcut.

      Let's see what it would take to change this "IGB Helper" on a topic branch.

        Attachments

          Activity

          Hide
          ann.loraine Ann Loraine added a comment - - edited

          This file:

          • ./core/igb/src/main/java/com/affymetrix/igb/view/welcome/GeneConfiguration.java

          contains code that reads

          • ./core/common/src/main/resources/display_species.txt

          with images listed.

          Comment at the top of the file:

          /**
          Loads pictures into the Cover Flow Welcome screen.

          This configuration class can control multiple setting on the cover flow component Refer to the parent class for more
          information.

          The class reads a resource file at $IGB_HOME/core/common/display_species.txt to configure the data sets displayed on the
          welcome screen.<br>
          The file should be of the form<br>
          [image file][tab][Data set to load upon click][tab][Name to display on tag][tab][color] An example is next:<br>
          a_lyrata.png A_lyrata_Apr_2011 A. lyrata #000000

          @author jfvillal
          */

          However the file does not actually have this format.

          Show
          ann.loraine Ann Loraine added a comment - - edited This file: ./core/igb/src/main/java/com/affymetrix/igb/view/welcome/GeneConfiguration.java contains code that reads ./core/common/src/main/resources/display_species.txt with images listed. Comment at the top of the file: /** Loads pictures into the Cover Flow Welcome screen. This configuration class can control multiple setting on the cover flow component Refer to the parent class for more information. The class reads a resource file at $IGB_HOME/core/common/display_species.txt to configure the data sets displayed on the welcome screen.<br> The file should be of the form<br> [image file] [tab] [Data set to load upon click] [tab] [Name to display on tag] [tab] [color] An example is next:<br> a_lyrata.png A_lyrata_Apr_2011 A. lyrata #000000 @author jfvillal */ However the file does not actually have this format.
          Hide
          ann.loraine Ann Loraine added a comment -

          Added comments to file mentioned above:

          • ./core/igb/src/main/java/com/affymetrix/igb/view/welcome/GeneConfiguration.java

          that answers above questions.

          Show
          ann.loraine Ann Loraine added a comment - Added comments to file mentioned above: ./core/igb/src/main/java/com/affymetrix/igb/view/welcome/GeneConfiguration.java that answers above questions.
          Hide
          ann.loraine Ann Loraine added a comment -

          Added comments to GeneConfiguration.java, pushed to branch, and merged.

          Show
          ann.loraine Ann Loraine added a comment - Added comments to GeneConfiguration.java, pushed to branch, and merged.

            People

            • Assignee:
              ann.loraine Ann Loraine
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: