промежуточный. загрузка адресатов для багов без наличия их в бд.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package _VisualDVM.ComponentsServer.Recipient.UI;
|
||||
import Common.Database.Tables.DataSet;
|
||||
import Common.Visual.DataSetControlForm;
|
||||
import Common.Visual.Tables.ColumnInfo;
|
||||
import _VisualDVM.ComponentsServer.Recipient.Recipient;
|
||||
import _VisualDVM.ComponentsServer.UserAccount.UserAccount;
|
||||
|
||||
import javax.swing.*;
|
||||
public class RecipientsForm extends DataSetControlForm<Recipient> {
|
||||
public RecipientsForm(DataSet<?, Recipient> dataSource_in, JPanel mountPanel_in) {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
protected void createColumns() {
|
||||
AddColumns(
|
||||
new ColumnInfo<Recipient>("Имя") {
|
||||
@Override
|
||||
public Object getFieldAt(Recipient object) {
|
||||
return object.name;
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user