本文整理汇总了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 ();
}
示例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);
}
}
示例3: getDialogBoundsSettings
import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogBoundsSettings ()
{
return DialogSettings.getOrCreateSection ( Activator.getDefault ().getDialogSettings (), "EventDetailsDialog" );
}
示例4: getDialogBoundsSettings
import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogBoundsSettings ()
{
return DialogSettings.getOrCreateSection ( this.dialogSettings, "bounds" );
}
示例5: getDialogBoundsSettings
import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogBoundsSettings ()
{
return DialogSettings.getOrCreateSection ( Activator.getDefault ().getDialogSettings (), "componentOutputDialog" ); //$NON-NLS-1$
}
示例6: getDialogSettings
import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogSettings() {
IDialogSettings dialogSettings = LaunchExtrasPlugin.getInstance().getDialogSettings();
return DialogSettings.getOrCreateSection( dialogSettings, "LaunchSelectionDialog" );
}
示例7: getDialogSettings
import org.eclipse.jface.dialogs.DialogSettings; //导入方法依赖的package包/类
@Override
protected IDialogSettings getDialogSettings() {
final IDialogSettings master = super.getDialogSettings();
return DialogSettings.getOrCreateSection(master, this.contextTypeId);
}