no message
This commit is contained in:
@@ -29,15 +29,6 @@ public class ServerSapforsDBTable extends iDBTable<ServerSapfor> {
|
||||
return new ServerSapforsForm(this, mountPanel);
|
||||
}
|
||||
@Override
|
||||
public Comparator<ServerSapfor> getComparator() {
|
||||
return new Comparator<ServerSapfor>() {
|
||||
@Override
|
||||
public int compare(ServerSapfor o1, ServerSapfor o2) {
|
||||
return o2.id - o1.id;
|
||||
}
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public PassCode_ getDeletePassCode() {
|
||||
return PassCode.DeleteServerSapfor;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import _VisualDVM.Passes.PassCode;
|
||||
import _VisualDVM.TestingSystem.SAPFOR.ServerSapfor.ServerSapfor;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.util.Comparator;
|
||||
public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
|
||||
public ServerSapforsForm(DataSet<?, ServerSapfor> dataSource_in, JPanel mountPanel_in) {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
@@ -49,4 +50,13 @@ public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
|
||||
PassCode.ShowSapforCompilationErr,
|
||||
PassCode.DeleteServerSapfor);
|
||||
}
|
||||
@Override
|
||||
public Comparator<ServerSapfor> getDefaultComparator() {
|
||||
return new Comparator<ServerSapfor>() {
|
||||
@Override
|
||||
public int compare(ServerSapfor o1, ServerSapfor o2) {
|
||||
return o2.id - o1.id;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user