List of commits:
Subject Hash Author Date (UTC)
Исправлен разделитель файлов, добавлена кнопка "Выход" 50a6e759d1a4b026af5d13a8784b3d527cd16d41 oam 2022-04-10 15:51:02
Добавлена возможность в начале работы перед показом основного меню выбрать директорию исходных файлов (InitialDir). ParamDynamicsMenu - добавлена возможность выбора переменных для отображения. 97d97ffd3f6dbf7b7ec23c7bc877bc205f347afb AnMikhaylova 2022-04-10 15:04:58
ChanCol - добавлен метод чтения метаданных из CSV файла. GeomReader - добавлен метод подсчета общего количества точек по х. TimeReader - добавлен метод подсчета общего количества временных шагов. TimeMenu - убран "хардкод" при создании объекта класса ChanFile. Также, при создании массива с метаданными по колонкам теперь используется описанная выше функция чтения из CSV файла. e428e9144c90e5bd1735d8776bd9539f15d0f72c AnMikhaylova 2022-04-09 19:05:17
TimeMenu - оптимизирована работа кнопки "очистить выбор" 35dce8258eb2432b5b3fa77c33e04dc3b20d248b AnMikhaylova 2022-04-05 11:19:01
TimeMenu - реализованы кнопки "очистить выбор", "выбрать всё". 684d7c56012361a388ffe2210ec0b7e425ebcd8d AnMikhaylova 2022-04-05 11:15:49
Переименован класс ChanProf из пакета channel для избежания конфликта имён. Добавлен пробный вариант выбора параметров в окне TimeMenu. 022e133a15f37f403a53232c9b6f81218532dd33 AnMikhaylova 2022-04-04 09:29:18
Реализованы классы для описания файла с результатами расчетов; создан тест b9eb54937916bf4538dc559ea3c391f0855d4280 oam 2022-04-03 18:51:28
Вспомогательные классы для описания переменных канала в определенный момент времени 33e512158850d511534458dda088a71386044de0 OAM 2022-04-01 07:22:42
В окне TimeMenu добавлены кнопки для выбора нужных координат. В окно нужно добавить функцию выбора параметров. 2cd07ab29c86f397b297576a753f96f5fcb0a567 AnMikhaylova 2022-03-26 11:08:53
В класс TimeReader добавлен метод getPointsInTime(), который вычисляет допустимые моменты времени для моделирования. Расчёт производится по данным из файла timescen.txt. Добавлено окно TimeMenu для выбора нужных моментов времени и выбора параметров. В окне реализован только вывод допустимых значений времени. 672abb1bfe2906250806e02c36273d561a67d098 AnMikhaylova 2022-03-25 20:13:56
Добавлено главное меню (MainMenu). Добавлено меню выбора канала (ChanMenu). В данном окне кнопка "выбрать" выступает в качестве загшлушки. Добавлено меню выбора директории файлов конфигурации (DirMenu). c8d0f12754cf04c526636136484fb552a61878be AnMikhaylova 2022-03-24 16:35:56
The FileReader class has been renamed (to DefaultReader). TimeInterval - added a method that calculates the total duration of the interval. TimeReader - added a method for calculating the total duration of the simulation. Changed directory with source files. 7d82fe691e99d1c76e74a7e95496ca14cd9786e3 AnMikhaylova 2022-03-17 20:05:59
The FileReader class has been renamed (to DefaultReader). TimeInterval - added a method that calculates the total duration of the interval. TimeReader - added a method for calculating the total duration of the simulation. Changed directory with source files. e348951a762aed7ed2bf0a6d61a06b7873a73518 AnMikhaylova 2022-03-17 20:01:36
initial commit 07cb3f608489e2df5cda5655d3055d7c7e46b522 oam 2022-03-17 19:33:58
Commit 50a6e759d1a4b026af5d13a8784b3d527cd16d41 - Исправлен разделитель файлов, добавлена кнопка "Выход"
Author: oam
Author date (UTC): 2022-04-10 15:51
Committer name: oam
Committer date (UTC): 2022-04-10 15:51
Parent(s): 97d97ffd3f6dbf7b7ec23c7bc877bc205f347afb
Signer:
Signing key:
Signing status: N
Tree: fe0d4c7de4bc6d6ad564965eee2591df2111e442
File Lines added Lines deleted
src/menu/InitialDir.form 13 2
src/menu/InitialDir.java 23 5
File src/menu/InitialDir.form changed (mode: 100644) (index 31722cb..fd333d1)
49 49 <Group type="102" attributes="0"> <Group type="102" attributes="0">
50 50 <EmptySpace max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/>
51 51 <Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
52 <Component id="jLabel1" pref="239" max="32767" attributes="0"/>
52 <Component id="jLabel1" pref="438" max="32767" attributes="0"/>
53 53 <Component id="jLabel2" alignment="0" max="32767" attributes="0"/> <Component id="jLabel2" alignment="0" max="32767" attributes="0"/>
54 54 <Group type="102" alignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0">
55 55 <Component id="jButton2" min="-2" max="-2" attributes="0"/> <Component id="jButton2" min="-2" max="-2" attributes="0"/>
56 <EmptySpace type="unrelated" max="-2" attributes="0"/>
57 <Component id="jButton1" min="-2" max="-2" attributes="0"/>
56 58 <EmptySpace max="32767" attributes="0"/> <EmptySpace max="32767" attributes="0"/>
57 59 <Component id="jButton3" min="-2" max="-2" attributes="0"/> <Component id="jButton3" min="-2" max="-2" attributes="0"/>
58 60 </Group> </Group>
 
72 74 <Group type="103" groupAlignment="3" attributes="0"> <Group type="103" groupAlignment="3" attributes="0">
73 75 <Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/>
74 76 <Component id="jButton3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButton3" alignment="3" min="-2" max="-2" attributes="0"/>
77 <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/>
75 78 </Group> </Group>
76 <EmptySpace pref="19" max="32767" attributes="0"/>
79 <EmptySpace max="32767" attributes="0"/>
77 80 </Group> </Group>
78 81 </Group> </Group>
79 82 </DimensionLayout> </DimensionLayout>
 
105 108 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton3ActionPerformed"/> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton3ActionPerformed"/>
106 109 </Events> </Events>
107 110 </Component> </Component>
111 <Component class="javax.swing.JButton" name="jButton1">
112 <Properties>
113 <Property name="text" type="java.lang.String" value="&#x412;&#x44b;&#x439;&#x442;&#x438;"/>
114 </Properties>
115 <Events>
116 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
117 </Events>
118 </Component>
108 119 </SubComponents> </SubComponents>
109 120 </Container> </Container>
110 121 </SubComponents> </SubComponents>
File src/menu/InitialDir.java changed (mode: 100644) (index cd122a9..5edbcca)
6 6 package menu; package menu;
7 7
8 8
9 import java.io.File;
9 10 import javax.swing.JFileChooser; import javax.swing.JFileChooser;
10 11
11 12 /** /**
 
... ... public class InitialDir extends javax.swing.JDialog {
45 46 jLabel2 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel();
46 47 jButton2 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton();
47 48 jButton3 = new javax.swing.JButton(); jButton3 = new javax.swing.JButton();
49 jButton1 = new javax.swing.JButton();
48 50
49 51 setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
50 52
 
... ... public class InitialDir extends javax.swing.JDialog {
66 68 } }
67 69 }); });
68 70
71 jButton1.setText("Выйти");
72 jButton1.addActionListener(new java.awt.event.ActionListener() {
73 public void actionPerformed(java.awt.event.ActionEvent evt) {
74 jButton1ActionPerformed(evt);
75 }
76 });
77
69 78 javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
70 79 jPanel1.setLayout(jPanel1Layout); jPanel1.setLayout(jPanel1Layout);
71 80 jPanel1Layout.setHorizontalGroup( jPanel1Layout.setHorizontalGroup(
 
... ... public class InitialDir extends javax.swing.JDialog {
73 82 .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createSequentialGroup()
74 83 .addContainerGap() .addContainerGap()
75 84 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
76 .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 239, Short.MAX_VALUE)
85 .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE)
77 86 .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
78 87 .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createSequentialGroup()
79 88 .addComponent(jButton2) .addComponent(jButton2)
89 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
90 .addComponent(jButton1)
80 91 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
81 92 .addComponent(jButton3))) .addComponent(jButton3)))
82 93 .addContainerGap()) .addContainerGap())
 
... ... public class InitialDir extends javax.swing.JDialog {
91 102 .addGap(18, 18, 18) .addGap(18, 18, 18)
92 103 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
93 104 .addComponent(jButton2) .addComponent(jButton2)
94 .addComponent(jButton3))
95 .addContainerGap(19, Short.MAX_VALUE))
105 .addComponent(jButton3)
106 .addComponent(jButton1))
107 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
96 108 ); );
97 109
98 110 javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
 
... ... public class InitialDir extends javax.swing.JDialog {
122 134 ch.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); ch.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
123 135 int ret = ch.showOpenDialog(this); int ret = ch.showOpenDialog(this);
124 136 if(ret == JFileChooser.APPROVE_OPTION) { if(ret == JFileChooser.APPROVE_OPTION) {
125 this.jLabel2.setText(ch.getSelectedFile().getAbsolutePath()+ "\\");
126 path = ch.getSelectedFile().getAbsolutePath()+ "\\";
137 path = ch.getSelectedFile().getAbsolutePath()+ File.separator;
138 this.jLabel2.setText(path);
127 139 } }
128 140 else return; else return;
129 141 }//GEN-LAST:event_jButton2ActionPerformed }//GEN-LAST:event_jButton2ActionPerformed
 
... ... public class InitialDir extends javax.swing.JDialog {
134 146 new MainMenu(path).setVisible(true); new MainMenu(path).setVisible(true);
135 147 }//GEN-LAST:event_jButton3ActionPerformed }//GEN-LAST:event_jButton3ActionPerformed
136 148
149 private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
150 // exit
151 System.exit(0);
152 }//GEN-LAST:event_jButton1ActionPerformed
153
137 154 public static void main(String args[]) { public static void main(String args[]) {
138 155 /* Set the Nimbus look and feel */ /* Set the Nimbus look and feel */
139 156 //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
 
... ... public class InitialDir extends javax.swing.JDialog {
167 184 } }
168 185
169 186 // Variables declaration - do not modify//GEN-BEGIN:variables // Variables declaration - do not modify//GEN-BEGIN:variables
187 private javax.swing.JButton jButton1;
170 188 private javax.swing.JButton jButton2; private javax.swing.JButton jButton2;
171 189 private javax.swing.JButton jButton3; private javax.swing.JButton jButton3;
172 190 private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel1;
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/oami/lleakres

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/oami/lleakres

Clone this repository using git:
git clone git://git.rocketgit.com/user/oami/lleakres

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main