no message
This commit is contained in:
@@ -18,7 +18,7 @@ import org.fife.ui.rtextarea.RTextScrollPane;
|
||||
import javax.swing.*;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Vector;
|
||||
public abstract class ComparisonForm<T extends DBObject> {
|
||||
public abstract class ComparisonForm<T> {
|
||||
public Class<T> t; //класс объектов.
|
||||
//-->>
|
||||
private JPanel content;
|
||||
@@ -289,8 +289,11 @@ public abstract class ComparisonForm<T extends DBObject> {
|
||||
lObjectName.setToolTipText("Объект не назначен.");
|
||||
}
|
||||
protected void showObject() {
|
||||
lObjectName.setText(object.getPK().toString());
|
||||
lObjectName.setToolTipText(object.getPK().toString());
|
||||
if (object instanceof DBObject) {
|
||||
DBObject dbObject = (DBObject) object;
|
||||
lObjectName.setText(dbObject.toString());
|
||||
lObjectName.setToolTipText(dbObject.toString());
|
||||
}
|
||||
}
|
||||
protected void removeObject() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user