рефакторинг верхних меню таблиц.
This commit is contained in:
@@ -76,4 +76,8 @@ public class MessagesDBTable<M extends Message> extends iDBTable<M> {
|
||||
public Comparator<M> getComparator() {
|
||||
return Comparator.comparingInt(o -> o.line);
|
||||
}
|
||||
@Override
|
||||
public boolean hasMenuBar() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,9 +21,14 @@ public class RecommendationsDBTable extends iDBTable<MessageRecommendation> {
|
||||
columns.get(1).setMinWidth(700);
|
||||
columns.get(1).setRendererClass(RendererWrapText.class);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public boolean hasMenuBar() {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
public String[] getUIColumnNames() {
|
||||
return new String[]{"текст"};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user