本文整理汇总了Java中org.insightech.er.editor.model.settings.Settings.setViewOrderBy方法的典型用法代码示例。如果您正苦于以下问题:Java Settings.setViewOrderBy方法的具体用法?Java Settings.setViewOrderBy怎么用?Java Settings.setViewOrderBy使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.insightech.er.editor.model.settings.Settings
的用法示例。
在下文中一共展示了Settings.setViewOrderBy方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: loadSettings
import org.insightech.er.editor.model.settings.Settings; //导入方法依赖的package包/类
private void loadSettings(final Settings settings, final Element parent, final LoadContext context) {
final Element element = getElement(parent, "settings");
if (element != null) {
settings.setDatabase(loadDatabase(element));
settings.setCapital(this.getBooleanValue(element, "capital"));
settings.setTableStyle(Format.null2blank(getStringValue(element, "table_style")));
settings.setNotation(getStringValue(element, "notation"));
settings.setNotationLevel(this.getIntValue(element, "notation_level"));
settings.setNotationExpandGroup(this.getBooleanValue(element, "notation_expand_group", false));
settings.setViewMode(this.getIntValue(element, "view_mode"));
settings.setOutlineViewMode(this.getIntValue(element, "outline_view_mode"));
settings.setViewOrderBy(this.getIntValue(element, "view_order_by"));
settings.setAutoImeChange(this.getBooleanValue(element, "auto_ime_change", false));
settings.setValidatePhysicalName(this.getBooleanValue(element, "validate_physical_name", true));
settings.setUseBezierCurve(this.getBooleanValue(element, "use_bezier_curve", false));
settings.setSuspendValidator(this.getBooleanValue(element, "suspend_validator", false));
final CategorySetting categorySetting = settings.getCategorySetting();
loadCategorySetting(categorySetting, element, context);
// must load categorySetting before exportSetting
final ExportSetting exportSetting = settings.getExportSetting();
loadExportSetting(exportSetting, element, context);
final TranslationSetting translationSetting = settings.getTranslationSetting();
loadTranslationSetting(translationSetting, element, context);
final ModelProperties modelProperties = settings.getModelProperties();
loadModelProperties(modelProperties, element, context);
loadTableProperties((TableProperties) settings.getTableViewProperties(), element, context);
}
}
示例2: loadSettings
import org.insightech.er.editor.model.settings.Settings; //导入方法依赖的package包/类
private void loadSettings(Settings settings, Element parent,
LoadContext context) {
Element element = this.getElement(parent, "settings");
if (element != null) {
settings.setDatabase(this.loadDatabase(element));
settings.setCapital(this.getBooleanValue(element, "capital"));
settings.setTableStyle(Format.null2blank(this.getStringValue(
element, "table_style")));
settings.setNotation(this.getStringValue(element, "notation"));
settings.setNotationLevel(this.getIntValue(element,
"notation_level"));
settings.setNotationExpandGroup(this.getBooleanValue(element,
"notation_expand_group", false));
settings.setViewMode(this.getIntValue(element, "view_mode"));
settings.setOutlineViewMode(this.getIntValue(element,
"outline_view_mode"));
settings.setViewOrderBy(this.getIntValue(element, "view_order_by"));
settings.setAutoImeChange(this.getBooleanValue(element,
"auto_ime_change", false));
settings.setValidatePhysicalName(this.getBooleanValue(element,
"validate_physical_name", true));
settings.setUseBezierCurve(this.getBooleanValue(element,
"use_bezier_curve", false));
settings.setSuspendValidator(this.getBooleanValue(element,
"suspend_validator", false));
CategorySetting categorySetting = settings.getCategorySetting();
this.loadCategorySetting(categorySetting, element, context);
// must load categorySetting before exportSetting
ExportSetting exportSetting = settings.getExportSetting();
this.loadExportSetting(exportSetting, element, context);
TranslationSetting translationSetting = settings
.getTranslationSetting();
this.loadTranslationSetting(translationSetting, element, context);
ModelProperties modelProperties = settings.getModelProperties();
this.loadModelProperties(modelProperties, element);
this.loadTableProperties(
(TableProperties) settings.getTableViewProperties(),
element, context);
}
}