org.vishia.guiBzr

## Class GuiFilesDiffPanel

- java.lang.Object
- - org.vishia.guiBzr.GuiFilesDiffPanel

-     public class GuiFilesDiffPanel
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private GralUserAction` | `actionAdd`
    `private GralUserAction` | `actionCommit`
    `private GralUserAction` | `actionRefresh`
    `private GralUserAction` | `actionRename`
    `private GralUserAction` | `actionTableLineFile` Action for mark a line.
    `private GralUserAction` | `actionView`
    `private GralUserAction` | `actionViewdiff`
    `private static GralColor` | `colorMarked`
    `private static GralColor` | `colorNonMarked`
    `private static int` | `columnMark`
    `(package private) java.util.Map<java.lang.String,GralTableLine_ifc>` | `indexMarkedFiles`
    `(package private) MainData` | `mainData` Aggregation to the main data of the GUI.
    `(package private) GralMngBuild_ifc` | `panelBuildifc` Aggregation to the build interface of the manager where the panel is member of.
    `(package private) java.lang.StringBuilder` | `uRenameOut`
    `static int` | `version` Version, able to read as hex yyyymmdd.
    `private GralTable` | `widgdTableFilesCmpn` The table (list) which contains the selectable project paths.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GuiFilesDiffPanel(MainData mainData, GralMngBuild_ifc panelBuildifc)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) void` | `commitSelectedFiles()`
    `(package private) void` | `fillFileTable(DataCmpn cmpn)`
    `(package private) void` | `initGui()` Initializes the graphic.
    `private void` | `refreshFiles()`
    `(package private) void` | `stop()`
    `private boolean` | `writeAppendixInFileTable(java.util.List<DataFile> listDataFileInDirectory, java.lang.String sLastDirectory, boolean bLastWasDirectoryBlock)`
    `(package private) void` | `xxxfillFileTable(DataCmpn cmpn)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### version

          public static final int version

      Version, able to read as hex yyyymmdd. Changes:
      - 2011-05-17 Button view & diff now used. It produces bzr diff FILE in the output panel.
      - 2011-05-01 Hartmut: Created
      See Also:
        Constant Field Values

    - #### mainData

          final MainData mainData

      Aggregation to the main data of the GUI.

    - #### panelBuildifc

          final GralMngBuild_ifc panelBuildifc

      Aggregation to the build interface of the manager where the panel is member of.

    - #### uRenameOut

          final java.lang.StringBuilder uRenameOut

    - #### widgdTableFilesCmpn

          private GralTable widgdTableFilesCmpn

      The table (list) which contains the selectable project paths.

    - #### columnMark

          private static final int columnMark

      See Also:
        Constant Field Values

    - #### colorMarked

          private static final GralColor colorMarked

    - #### colorNonMarked

          private static final GralColor colorNonMarked

    - #### indexMarkedFiles

          final java.util.Map<java.lang.String,GralTableLine_ifc> indexMarkedFiles

    - #### actionTableLineFile

          private final GralUserAction actionTableLineFile

      Action for mark a line. It is the actionChange for the table. This action will be called on any key events or mouse events on the table. The action method returns true if the key or mouse is used. Here it is the space bar or enter to mark a line.

    - #### actionAdd

          private final GralUserAction actionAdd

    - #### actionRename

          private final GralUserAction actionRename

    - #### actionCommit

          private final GralUserAction actionCommit

    - #### actionRefresh

          private final GralUserAction actionRefresh

    - #### actionView

          private final GralUserAction actionView

    - #### actionViewdiff

          private final GralUserAction actionViewdiff

  - ### Constructor Detail

    - #### GuiFilesDiffPanel

          public GuiFilesDiffPanel(MainData mainData,
                                   GralMngBuild_ifc panelBuildifc)

  - ### Method Detail

    - #### initGui

          void initGui()

      Initializes the graphic. It will be called in the GUI-Thread.

    - #### fillFileTable

          void fillFileTable(DataCmpn cmpn)

    - #### writeAppendixInFileTable

          private boolean writeAppendixInFileTable(java.util.List<DataFile> listDataFileInDirectory,
                                                   java.lang.String sLastDirectory,
                                                   boolean bLastWasDirectoryBlock)

    - #### xxxfillFileTable

          void xxxfillFileTable(DataCmpn cmpn)

    - #### refreshFiles

          private void refreshFiles()

    - #### commitSelectedFiles

          void commitSelectedFiles()

    - #### stop

          void stop()