本文整理匯總了Java中org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog類的典型用法代碼示例。如果您正苦於以下問題:Java TablespaceDialog類的具體用法?Java TablespaceDialog怎麽用?Java TablespaceDialog使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
TablespaceDialog類屬於org.insightech.er.editor.view.dialog.outline.tablespace包,在下文中一共展示了TablespaceDialog類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: execute
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public void execute(final Event event) {
final ERDiagram diagram = getDiagram();
final TablespaceDialog dialog = EclipseDBManagerFactory.getEclipseDBManager(diagram).createTablespaceDialog();
if (dialog == null) {
ERDiagramActivator.showMessageDialog("dialog.message.tablespace.not.supported");
} else {
dialog.init(null, diagram);
if (dialog.open() == IDialogConstants.OK_ID) {
final CreateTablespaceCommand command = new CreateTablespaceCommand(diagram, dialog.getResult());
this.execute(command);
}
}
}
示例2: performRequest
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public void performRequest(final Request request) {
final Tablespace tablespace = (Tablespace) getModel();
final ERDiagram diagram = getDiagram();
if (request.getType().equals(RequestConstants.REQ_OPEN)) {
final TablespaceDialog dialog = EclipseDBManagerFactory.getEclipseDBManager(diagram).createTablespaceDialog();
if (dialog == null) {
ERDiagramActivator.showMessageDialog("dialog.message.tablespace.not.supported");
} else {
dialog.init(tablespace, diagram);
if (dialog.open() == IDialogConstants.OK_ID) {
final EditTablespaceCommand command = new EditTablespaceCommand(diagram, tablespace, dialog.getResult());
execute(command);
}
}
}
super.performRequest(request);
}
示例3: execute
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public void execute(Event event) {
ERDiagram diagram = this.getDiagram();
TablespaceDialog dialog = EclipseDBManagerFactory.getEclipseDBManager(
diagram).createTablespaceDialog();
if (dialog == null) {
ERDiagramActivator
.showMessageDialog("dialog.message.tablespace.not.supported");
} else {
dialog.init(null, diagram);
if (dialog.open() == IDialogConstants.OK_ID) {
CreateTablespaceCommand command = new CreateTablespaceCommand(
diagram, dialog.getResult());
this.execute(command);
}
}
}
示例4: performRequest
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public void performRequest(Request request) {
Tablespace tablespace = (Tablespace) this.getModel();
ERDiagram diagram = this.getDiagram();
if (request.getType().equals(RequestConstants.REQ_OPEN)) {
TablespaceDialog dialog = EclipseDBManagerFactory
.getEclipseDBManager(diagram).createTablespaceDialog();
if (dialog == null) {
ERDiagramActivator
.showMessageDialog("dialog.message.tablespace.not.supported");
} else {
dialog.init(tablespace, diagram);
if (dialog.open() == IDialogConstants.OK_ID) {
EditTablespaceCommand command = new EditTablespaceCommand(
diagram, tablespace, dialog.getResult());
this.execute(command);
}
}
}
super.performRequest(request);
}
示例5: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
return null;
}
示例6: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
return new DB2TablespaceDialog();
}
示例7: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
return new OracleTablespaceDialog();
}
示例8: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
return new PostgresTablespaceDialog();
}
示例9: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog()
{
return null;
}
示例10: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
return new SqlServerTablespaceDialog();
}
示例11: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
return new MySQLTablespaceDialog();
}
示例12: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
return null;
}
示例13: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
return new DB2TablespaceDialog();
}
示例14: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
return new OracleTablespaceDialog();
}
示例15: createTablespaceDialog
import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
return new PostgresTablespaceDialog();
}