HowTo port a screen from Old Petra

From OpenPetra Wiki
Revision as of 16:26, 28 May 2011 by Mshobohm (talk | contribs)
Jump to navigation Jump to search
  1. Start Old Petra (e.g. in a virtualBox).
  2. Make a screenshot from the screen you want to move (Press ALT GR +Print). Copy it into a word document (CRTL-V).
  3. If the screen contains a Table scroll from Left to right and make several screenshots in order to shot the headers of all columns.
  4. Also make a screenshot of Help-ABout Petra. THis contains the name of the progress program for the screen. You may need this later if values of boxes are calculated or to check if the old program has some extraordinary behavior.
  5. Now you can close Old Petra (+Virtualbox) and start with the devolopment of the new screen.
  6. Create a yaml file for the new screen. THe yaml files reference templates so you have to find out which is right template (does it have an own window or is it embedded in an other window? Does it contain a table, and an additional Details Panel which shall be filled automatically? Is the table part of a larger dataset or just single?)
  7. After your decision for the right template find an example where this template is already used and copy the yaml-file and the xx.mal-code file. This file is needed nearly always.