MigrationStatsE4View.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:E34MigrationTooling 作者:
private void askForColumnPrefixes()
{
    // filter empty lines...
    InputDialog dlg = new InputDialog(Display.getCurrent().getActiveShell(), "Column name prefix filters",
            "Enter a comma separated list of prefix filters to apply on column names", prefixFiltersString, null);

    if (dlg.open() == Dialog.OK)
    {
        computePrefixFilterList(dlg.getValue());

        for (IPluginModelBase p : columnsCache.keySet())
        {
            TreeViewerColumn tc = columnsCache.get(p);
            String newTitle = getColumnName(p);
            if (!tc.getColumn().isDisposed() && !tc.getColumn().getText().equals(newTitle))
            {
                tc.getColumn().setText(newTitle);
                tc.getColumn().pack();
            }
        }
        tv.refresh();
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号