提交 35d08c22 编写于 作者: S Serge Rider

Annotations

上级 e99b6791
......@@ -595,7 +595,7 @@ public abstract class DBNDatabaseNode extends DBNNode implements DBSWrapper, DBP
throw new IllegalStateException("No parent datasource node");
}
@NotNull
@Nullable
public DBPDataSource getDataSource() {
DBSObject object = getObject();
if (object != null) {
......
......@@ -2726,6 +2726,7 @@ public class ResultSetViewer extends Viewer
filtersMenu.add(ActionUtils.makeCommandContribution(site, ResultSetHandlerMain.CMD_FILTER_MENU_DISTINCT));
}
filtersMenu.add(new Separator());
DBDAttributeConstraint constraint = model.getDataFilter().getConstraint(attribute);
if (constraint != null && constraint.hasCondition()) {
......@@ -4158,7 +4159,7 @@ public class ResultSetViewer extends Viewer
return cellValue;
}
},
INPUT("Custom ... ", UIIcon.FILTER_INPUT) {
INPUT("Custom", UIIcon.FILTER_INPUT) {
@Override
Object getValue(@NotNull ResultSetViewer viewer, @NotNull DBDAttributeBinding attribute, @NotNull DBCLogicalOperator operator, boolean useDefault)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册