001package org.vishia.guiBzr;
002
003import java.io.File;
004
005import org.vishia.gral.base.GralWidget;
006import org.vishia.gral.ifc.GralMngBuild_ifc;
007import org.vishia.gral.ifc.GralUserAction;
008import org.vishia.mainCmd.Report;
009
010public class PanelOutput
011{
012  /**Version, able to read as hex yyyymmdd.
013   * Changes:
014   * <ul>
015   * <li>2011-06-17 Hartmut: Created. It is the output of some commands.
016   * </ul>
017   */
018  public final static int version = 0x20110617;
019
020  /**Aggregation to the main data of the GUI. */
021  final MainData mainData;
022
023  /**Aggregation to the build interface of the manager where the panel is member of. */
024  final GralMngBuild_ifc panelBuildifc;
025  
026  final StringBuilder uCommitOut =  new StringBuilder();
027  
028  GralWidget widgdOutputText; // = new GralWidget("OutputText", 'T');
029  
030  public PanelOutput(MainData mainData, GralMngBuild_ifc panelBuildifc)
031  {
032    this.panelBuildifc = panelBuildifc;
033    this.mainData = mainData;
034  }
035
036  /**Initializes the graphic. 
037   * It will be called in the GUI-Thread.
038   */
039  void initGui()
040  { panelBuildifc.selectPanel("Output");
041    panelBuildifc.setPositionSize(2,0, 30, 70, 'r');
042    widgdOutputText = panelBuildifc.addTextBox("OutputText", true, null, ' '); // "commit Text", 't');
043  }
044    
045  
046  
047  
048
049  void stop(){}
050  
051  
052}