當前位置: 首頁>>代碼示例>>Java>>正文


Java TablespaceDialog類代碼示例

本文整理匯總了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);
        }
    }
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:21,代碼來源:CreateTablespaceAction.java

示例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);
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:26,代碼來源:TablespaceOutlineEditPart.java

示例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);
		}
	}
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:24,代碼來源:CreateTablespaceAction.java

示例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);
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:29,代碼來源:TablespaceOutlineEditPart.java

示例5: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
    return null;
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:5,代碼來源:StandardSQLEclipseDBManager.java

示例6: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
    return new DB2TablespaceDialog();
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:5,代碼來源:DB2EclipseDBManager.java

示例7: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
    return new OracleTablespaceDialog();
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:5,代碼來源:OracleEclipseDBManager.java

示例8: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
    return new PostgresTablespaceDialog();
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:5,代碼來源:PostgresEclipseDBManager.java

示例9: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog()
{
	return null;
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:6,代碼來源:InformixEclipseDBManager.java

示例10: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
    return new SqlServerTablespaceDialog();
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:5,代碼來源:SqlServerEclipseDBManager.java

示例11: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
@Override
public TablespaceDialog createTablespaceDialog() {
    return new MySQLTablespaceDialog();
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:5,代碼來源:MySQLEclipseDBManager.java

示例12: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
	return null;
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:4,代碼來源:StandardSQLEclipseDBManager.java

示例13: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
	return new DB2TablespaceDialog();
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:4,代碼來源:DB2EclipseDBManager.java

示例14: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
	return new OracleTablespaceDialog();
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:4,代碼來源:OracleEclipseDBManager.java

示例15: createTablespaceDialog

import org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog; //導入依賴的package包/類
public TablespaceDialog createTablespaceDialog() {
	return new PostgresTablespaceDialog();
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:4,代碼來源:PostgresEclipseDBManager.java


注:本文中的org.insightech.er.editor.view.dialog.outline.tablespace.TablespaceDialog類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。