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


Java DialogSettings.getOrCreateSection方法代码示例

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


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

示例1: MasterSelectionDialog

import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
public MasterSelectionDialog ( final Shell parentShell, final World world )
{
    super ( parentShell );
    this.world = world;
    setHelpAvailable ( false );

    this.dialogSettings = DialogSettings.getOrCreateSection ( Activator.getDefault ().getDialogSettings (), "MasterSelectionDialog" );
    this.lastSelection = loadLastSelection ();
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:10,代码来源:MasterSelectionDialog.java

示例2: writeCriteria

import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
private void writeCriteria() {
    final IDialogSettings s = DialogSettings.getOrCreateSection(Activator.getPlugin().getDialogSettings(), PAGE_NAME);
    final int historySize = Math.min(history.size(), HISTORY_SIZE);
    final IDialogSettings allCriteria = DialogSettings.getOrCreateSection(s, STORE_SEARCH_CRITERIA);
    for (int i = 0; i < historySize; i++) {
        final IDialogSettings searchCriteria = allCriteria.addNewSection(STORE_SEARCH_CRITERIA + "[" + i + "]");
        final Criteria criteria = history.get(i);
        searchCriteria.put(STORE_SEARCH_TERM, criteria.searchTerm);
        searchCriteria.put(STORE_MATCH_TYPES, criteria.matchType);
    }
}
 
开发者ID:GRA-UML,项目名称:tool,代码行数:12,代码来源:ReferenceLibrarySearchPage.java

示例3: getDialogBoundsSettings

import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogBoundsSettings ()
{
    return DialogSettings.getOrCreateSection ( Activator.getDefault ().getDialogSettings (), "EventDetailsDialog" );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:6,代码来源:EventDetailsDialog.java

示例4: getDialogBoundsSettings

import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogBoundsSettings ()
{
    return DialogSettings.getOrCreateSection ( this.dialogSettings, "bounds" );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:6,代码来源:MasterSelectionDialog.java

示例5: getDialogBoundsSettings

import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogBoundsSettings ()
{
    return DialogSettings.getOrCreateSection ( Activator.getDefault ().getDialogSettings (), "componentOutputDialog" ); //$NON-NLS-1$
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:6,代码来源:ComponentOutputDialog.java

示例6: getDialogSettings

import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogSettings() {
  IDialogSettings dialogSettings = LaunchExtrasPlugin.getInstance().getDialogSettings();
  return DialogSettings.getOrCreateSection( dialogSettings, "LaunchSelectionDialog" );
}
 
开发者ID:rherrmann,项目名称:eclipse-extras,代码行数:6,代码来源:LaunchSelectionDialog.java

示例7: getDialogSettings

import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogSettings() {
    final IDialogSettings master = super.getDialogSettings();
    return DialogSettings.getOrCreateSection(master, this.contextTypeId);
}
 
开发者ID:forcedotcom,项目名称:idecore,代码行数:6,代码来源:AbstractTemplateSelectionPage.java


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