43 lines
1.3 KiB
Java
43 lines
1.3 KiB
Java
|
|
package _VisualDVM.GlobalData.Makefile.UI;
|
||
|
|
import Common.Database.Tables.DataSet;
|
||
|
|
import Common.Visual.DataSetControlForm;
|
||
|
|
import Common.Visual.Menus.DataMenuBar;
|
||
|
|
import _VisualDVM.GlobalData.Makefile.Makefile;
|
||
|
|
import _VisualDVM.Passes.PassCode;
|
||
|
|
|
||
|
|
import javax.swing.*;
|
||
|
|
public class MakefilesForm extends DataSetControlForm<Makefile> {
|
||
|
|
public MakefilesForm(DataSet<?, Makefile> dataSource_in, JPanel mountPanel_in) {
|
||
|
|
super(dataSource_in, mountPanel_in);
|
||
|
|
}
|
||
|
|
@Override
|
||
|
|
public boolean hasCheckBox() {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
@Override
|
||
|
|
public String[] getUIColumnNames() {
|
||
|
|
return new String[]{
|
||
|
|
"Линковщик",
|
||
|
|
"Команда",
|
||
|
|
"Флаги"
|
||
|
|
};
|
||
|
|
}
|
||
|
|
@Override
|
||
|
|
protected void AdditionalInitColumns() {
|
||
|
|
columns.get(0).setVisible(false);
|
||
|
|
}
|
||
|
|
@Override
|
||
|
|
public DataMenuBar createMenuBar() {
|
||
|
|
return new DataMenuBar(dataSource.getPluralDescription(),
|
||
|
|
PassCode.Compile,
|
||
|
|
PassCode.AddMakefile,
|
||
|
|
PassCode.EditMakefile,
|
||
|
|
PassCode.DeleteMakefile) {
|
||
|
|
{
|
||
|
|
addSeparator();
|
||
|
|
addPasses(PassCode.ShowMakefilePreview, PassCode.EditProjectCompilationMaxtime);
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
}
|