提交 8bdb46ed 编写于 作者: J jurgen

Oracle constraints reading fix

Former-commit-id: a90ba1c8
上级 409abfa1
......@@ -21,6 +21,7 @@ package org.jkiss.dbeaver.ui.controls.itemlist;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.ToolBarManager;
import org.eclipse.jface.viewers.*;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Composite;
......@@ -68,7 +69,7 @@ public class ItemListControl extends NodeListControl
this.searcher = new Searcher();
this.searchHighlightColor = new Color(parent.getDisplay(), 170, 255, 170);
this.disabledCellColor = new Color(parent.getDisplay(), 0xEA, 0xEA, 0xEA);
this.disabledCellColor = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_LIGHT_SHADOW);
this.normalFont = parent.getFont();
this.boldFont = UIUtils.makeBoldFont(normalFont);
}
......
......@@ -56,7 +56,7 @@ public abstract class OracleTableConstraintBase extends JDBCTableConstraint<Orac
return getTable().getDataSource();
}
@Property(viewable = true, editable = true, valueTransformer = DBObjectNameCaseTransformer.class, order = 3)
@Property(viewable = true, editable = false, valueTransformer = DBObjectNameCaseTransformer.class, order = 3)
@Override
public DBSEntityConstraintType getConstraintType()
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册