当前位置: 首页>>代码示例>>Java>>正文


Java TableEditor.dispose方法代码示例

本文整理汇总了Java中org.eclipse.swt.custom.TableEditor.dispose方法的典型用法代码示例。如果您正苦于以下问题:Java TableEditor.dispose方法的具体用法?Java TableEditor.dispose怎么用?Java TableEditor.dispose使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.swt.custom.TableEditor的用法示例。


在下文中一共展示了TableEditor.dispose方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: removeItems

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void removeItems(TableItem[] items) {

        Table table = getTable();
        table.setRedraw(false);
        try {

            for (TableItem item : items) {

                Control schemeTableEditorControl = _SchemeTableEditor.getEditor();
                if (schemeTableEditorControl != null) {
                    schemeTableEditorControl.dispose();
                }

                _SchemeTableEditor.setEditor(null, item, 0);

                Control idTableEditorControl = _IdTableEditor.getEditor();
                if (idTableEditorControl != null) {
                    idTableEditorControl.dispose();
                }

                _IdTableEditor.setEditor(null, item, 1);

                for (int perm : PERMS) {
                    TableEditor tableEditor = getItemPermTableEditor(item, perm);
                    Button checkBox = (Button) tableEditor.getEditor();
                    tableEditor.dispose();
                    checkBox.dispose();
                }

                item.dispose();
            }
        }
        finally {
            table.setRedraw(true);
        }
    }
 
开发者ID:baloise,项目名称:eZooKeeper,代码行数:37,代码来源:ZnodeAclComposite.java

示例2: disposeTableEditor

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeTableEditor() {
    for (final TableEditor tableEditor : tableEditorList) {
        tableEditor.getEditor().dispose();
        tableEditor.dispose();
    }

    tableEditorList.clear();
    editorReferencedMap.clear();
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:10,代码来源:RelationByExistingColumnsDialog.java

示例3: clearButtonAndEditor

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void clearButtonAndEditor() {
    for (final Button checkButton : checkButtonList) {
        checkButton.dispose();
    }

    checkButtonList.clear();

    for (final TableEditor editor : editorList) {
        editor.dispose();
    }

    editorList.clear();
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:14,代码来源:IndexTabWrapper.java

示例4: disposeTableEditor

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeTableEditor() {
    for (final TableEditor tableEditor : tableEditorList) {
        tableEditor.getEditor().dispose();
        tableEditor.dispose();
    }

    tableEditorList.clear();
    editorColumnMap.clear();
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:10,代码来源:ComplexUniqueKeyTabWrapper.java

示例5: disposeCheckBox

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeCheckBox(final Column column) {
    final TableEditor oldEditor = columnCheckMap.get(column);

    if (oldEditor != null) {
        if (oldEditor.getEditor() != null) {
            oldEditor.getEditor().dispose();
        }
        oldEditor.dispose();
    }

    columnCheckMap.remove(column);
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:13,代码来源:IndexDialog.java

示例6: disposeCheckBox

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeCheckBox(final Column column) {
    final TableEditor[] oldEditors = columnNotNullCheckMap.get(column);

    if (oldEditors != null) {
        for (final TableEditor oldEditor : oldEditors) {
            if (oldEditor.getEditor() != null) {
                oldEditor.getEditor().dispose();
                oldEditor.dispose();
            }
        }

        columnNotNullCheckMap.remove(column);
    }
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:15,代码来源:ERTableComposite.java

示例7: deleteNodeList

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void deleteNodeList() {
    categoryNameText.setText("");

    nodeTable.removeAll();

    if (nodeCheckMap != null) {
        for (final TableEditor editor : nodeCheckMap.values()) {
            editor.getEditor().dispose();
            editor.dispose();
        }

        nodeCheckMap.clear();
    }
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:15,代码来源:CategoryManageDialog.java

示例8: disposeTableEditor

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeTableEditor() {
	for (TableEditor tableEditor : this.tableEditorList) {
		tableEditor.getEditor().dispose();
		tableEditor.dispose();
	}

	this.tableEditorList.clear();
	this.editorReferencedMap.clear();
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:10,代码来源:RelationByExistingColumnsDialog.java

示例9: clearButtonAndEditor

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void clearButtonAndEditor() {
	for (Button checkButton : this.checkButtonList) {
		checkButton.dispose();
	}

	this.checkButtonList.clear();

	for (TableEditor editor : this.editorList) {
		editor.dispose();
	}

	this.editorList.clear();
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:14,代码来源:IndexTabWrapper.java

示例10: disposeTableEditor

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeTableEditor() {
	for (TableEditor tableEditor : this.tableEditorList) {
		tableEditor.getEditor().dispose();
		tableEditor.dispose();
	}

	this.tableEditorList.clear();
	this.editorColumnMap.clear();
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:10,代码来源:ComplexUniqueKeyTabWrapper.java

示例11: disposeCheckBox

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeCheckBox(Column column) {
	TableEditor oldEditor = this.columnCheckMap.get(column);

	if (oldEditor != null) {
		if (oldEditor.getEditor() != null) {
			oldEditor.getEditor().dispose();
		}
		oldEditor.dispose();
	}

	this.columnCheckMap.remove(column);
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:13,代码来源:IndexDialog.java

示例12: disposeCheckBox

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeCheckBox(Column column) {
	TableEditor[] oldEditors = this.columnNotNullCheckMap.get(column);

	if (oldEditors != null) {
		for (TableEditor oldEditor : oldEditors) {
			if (oldEditor.getEditor() != null) {
				oldEditor.getEditor().dispose();
				oldEditor.dispose();
			}
		}

		this.columnNotNullCheckMap.remove(column);
	}
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:15,代码来源:ERTableComposite.java

示例13: deleteNodeList

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void deleteNodeList() {
	this.categoryNameText.setText("");

	this.nodeTable.removeAll();

	if (this.nodeCheckMap != null) {
		for (TableEditor editor : this.nodeCheckMap.values()) {
			editor.getEditor().dispose();
			editor.dispose();
		}

		this.nodeCheckMap.clear();
	}
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:15,代码来源:CategoryManageDialog.java

示例14: clearTableEditors

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void clearTableEditors()
{
	if (fTableEditors == null)
		fTableEditors = new HashSet<TableEditor>();

	for (TableEditor tableEditor : fTableEditors)
	{
		tableEditor.getEditor().dispose();
		tableEditor.dispose();
	}
	fTableEditors.clear();
}
 
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:13,代码来源:ThemePreferencePage.java

示例15: disposeMapperEditor

import org.eclipse.swt.custom.TableEditor; //导入方法依赖的package包/类
private void disposeMapperEditor() {
    for (final TableEditor tableEditor : mapperEditorList) {
        tableEditor.getEditor().dispose();
        tableEditor.dispose();
    }
    mapperEditorList.clear();
    mapperEditorToReferredColumnsMap.clear();
}
 
开发者ID:dbflute-session,项目名称:erflute,代码行数:9,代码来源:RelationshipByExistingColumnsDialog.java


注:本文中的org.eclipse.swt.custom.TableEditor.dispose方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。