Добавлен модуль Tools для запуска различных вспомогательных инструментов
This commit is contained in:
parent
3c699b20ad
commit
e696923f05
@ -45,7 +45,7 @@ public class Main extends JFrame {
|
||||
|
||||
private final ILabRab[] labs = new ILabRab[] {
|
||||
new LR_1(), new LR_2(), new LR_3(),
|
||||
new LR_4(), new LR_5()
|
||||
new LR_4(), new LR_5(), new Tools()
|
||||
};
|
||||
|
||||
private JButton executeButton;
|
||||
|
33
src/tse/Tools.java
Normal file
33
src/tse/Tools.java
Normal file
@ -0,0 +1,33 @@
|
||||
package tse;
|
||||
|
||||
import tse.tools.ImageCsvCreator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author aNNiMON
|
||||
*/
|
||||
public class Tools implements ILabRab {
|
||||
|
||||
private static final String[] TITLES = {
|
||||
"Конвертация изображения в CSV",
|
||||
};
|
||||
|
||||
@Override
|
||||
public void execute(int index) {
|
||||
switch(index) {
|
||||
case 0:
|
||||
ImageCsvCreator.main();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getTitles() {
|
||||
return TITLES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription(int index) {
|
||||
return TITLES[index];
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user