提交 ceb61506 编写于 作者: S serge-rider

#3392 Oracle: create schema hint


Former-commit-id: 93a067d0
上级 3b79e66f
......@@ -20,6 +20,7 @@ package org.jkiss.dbeaver.ext.oracle.edit;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
......@@ -139,6 +140,7 @@ public class OracleSchemaManager extends SQLObjectEditor<OracleSchema, OracleDat
protected Control createDialogArea(Composite parent)
{
getShell().setText("Set schema/user properties");
Control container = super.createDialogArea(parent);
Composite composite = UIUtils.createPlaceholder((Composite) container, 2, 5);
composite.setLayoutData(new GridData(GridData.FILL_BOTH));
......@@ -148,6 +150,12 @@ public class OracleSchemaManager extends SQLObjectEditor<OracleSchema, OracleDat
passwordText = UIUtils.createLabelText(composite, "User Password", null, SWT.BORDER | SWT.PASSWORD);
passwordText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
CLabel infoLabel = UIUtils.createInfoLabel(composite, "Creating a schema is the same as creating a user.\nYou need to specify a password.");
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan = 2;
infoLabel.setLayoutData(gd);
return parent;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册