本文整理汇总了Java中com.intellij.openapi.util.JDOMExternalizer.write方法的典型用法代码示例。如果您正苦于以下问题:Java JDOMExternalizer.write方法的具体用法?Java JDOMExternalizer.write怎么用?Java JDOMExternalizer.write使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.openapi.util.JDOMExternalizer
的用法示例。
在下文中一共展示了JDOMExternalizer.write方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
if (runSettings == null){
try {
readExternal(element);
}
catch (InvalidDataException ex){
//TODO: Not doing this at the moment anyways.
}
}
JDOMExternalizer.write(element, "additionalArguments", runSettings.getAdditionalArguments());
JDOMExternalizer.write(element, "testFilePath", runSettings.getTestFilePath());
JDOMExternalizer.write(element, "directory", runSettings.getDirectory());
JDOMExternalizer.write(element, "configFile", runSettings.getConfigFile());
JDOMExternalizer.write(element, "optionsFile", runSettings.getOptionsFile());
JDOMExternalizer.write(element, "rsaKey", runSettings.getRsaKey());
JDOMExternalizer.write(element, "useLatestPreserved", runSettings.getUseLatestPreserved());
}
示例2: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
writeModule(element);
JDOMExternalizer.write(element, "vmparams", vmParams);
JDOMExternalizer.write(element, "cmdLine", cmdLine);
JDOMExternalizer.write(element, "depsClasspath", depsClasspath);
JDOMExternalizer.writeMap(element, envs, null, "env");
JDOMExternalizer.write(element, "passParentEnv", passParentEnv);
JavaRunConfigurationExtensionManager.getInstance().writeExternal(this, element);
}
示例3: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
writeModule(element);
JDOMExternalizer.write(element, "path", ExternalizablePath.urlValue(scriptPath));
JDOMExternalizer.write(element, "vmparams", vmParams);
JDOMExternalizer.write(element, "params", scriptParams);
JDOMExternalizer.write(element, "workDir", ExternalizablePath.urlValue(workDir));
JDOMExternalizer.write(element, "debug", isDebugEnabled);
JDOMExternalizer.writeMap(element, envs, null, "env");
}
示例4: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
JDOMExternalizer.write(element, "environment", environment);
JDOMExternalizer.write(element, "specsToExecute", specsToExecute);
JDOMExternalizer.write(element, "tags", tags);
JDOMExternalizer.write(element, "parallelNodes", parallelNodes);
JDOMExternalizer.write(element, "execInParallel", execInParallel);
JDOMExternalizer.write(element, "programParameters", programParameters.getProgramParameters());
JDOMExternalizer.write(element, "workingDirectory", programParameters.getWorkingDirectory());
JDOMExternalizer.write(element, "moduleName", moduleName);
JDOMExternalizer.writeMap(element, programParameters.getEnvs(), "envMap", "envMap");
JDOMExternalizer.write(element, "rowsRange", rowsRange);
}
示例5: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
writeModule(element);
JDOMExternalizer.write(element, "vmparams", vmParams);
JDOMExternalizer.write(element, "cmdLine", cmdLine);
JDOMExternalizer.write(element, "depsClasspath", depsClasspath);
JDOMExternalizer.writeMap(element, envs, null, "env");
JDOMExternalizer.write(element, "passParentEnv", passParentEnv);
JavaRunConfigurationExtensionManager.getInstance().writeExternal(this, element);
PathMacroManager.getInstance(getProject()).collapsePathsRecursively(element);
}
示例6: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
writeModule(element);
JDOMExternalizer.write(element, "path", ExternalizablePath.urlValue(scriptPath));
JDOMExternalizer.write(element, "vmparams", vmParams);
JDOMExternalizer.write(element, "params", scriptParams);
JDOMExternalizer.write(element, "workDir", ExternalizablePath.urlValue(workDir));
JDOMExternalizer.write(element, "debug", isDebugEnabled);
JDOMExternalizer.writeMap(element, envs, null, "env");
PathMacroManager.getInstance(getProject()).collapsePathsRecursively(element);
}
示例7: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
JDOMExternalizer.write(element, "path", scriptPath);
JDOMExternalizer.write(element, "shellParams", shellParameters);
// JDOMExternalizer.write(element, "serverConfiguration", serverConfiguration);
PathMacroManager.getInstance(getProject()).collapsePathsRecursively(element);
}
示例8: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) throws WriteExternalException {
JDOMExternalizer.write(element, "datasourceName", dataSourceName);
JDOMExternalizer.write(element, "sqlMapSuffix", sqlMapSuffix);
JDOMExternalizer.write(element, "sqlMapPackage", sqlMapPackage);
JDOMExternalizer.write(element, "beanPackage", beanPackage);
JDOMExternalizer.write(element, "selectKeyTemplate", selectKeyTemplate);
JDOMExternalizer.write(element, "selectKeyType", selectKeyType.name());
JDOMExternalizer.write(element, "insertTemplate", insertTemplate);
JDOMExternalizer.write(element, "selectTemplate", selectTemplate);
JDOMExternalizer.write(element, "updateTemplate", updateTemplate);
JDOMExternalizer.write(element, "deleteTemplate", deleteTemplate);
JDOMExternalizer.write(element, "generateCrudOperations", generateCrudOperations);
JDOMExternalizer.write(element, "injectCreatedSqlMap", injectCreatedSqlMap);
}
示例9: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void writeExternal(Element element) throws WriteExternalException {
super.writeExternal(element);
writeModule(element);
JDOMExternalizer.write(element, "settingsFile", settingsFile);
JDOMExternalizer.write(element, "serverAddress", serverAddress);
if (serverType != null) {
JDOMExternalizer.write(element, "serverType", serverType.name());
}
}
示例10: writeSettings
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void writeSettings(@NotNull Element node) throws WriteExternalException
{
mySettings.writeSettings(node);
if(myIgnoreFields)
{
JDOMExternalizer.write(node, "ignoreFields", true);
}
}
示例11: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) {
JDOMExternalizer.write(element, ATTR_WHEEL_ZOOMING, wheelZooming);
JDOMExternalizer.write(element, ATTR_SMART_ZOOMING, smartZooming);
JDOMExternalizer.write(element, ATTR_PREFFERED_WIDTH, prefferedWidth);
JDOMExternalizer.write(element, ATTR_PREFFERED_HEIGHT, prefferedHeight);
}
示例12: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) {
JDOMExternalizer.write(element, ATTR_EXECUTABLE_PATH, executablePath);
}
示例13: write
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public static void write(Element root, String name, Color value) {
if (value != null) {
JDOMExternalizer.write(root, name, Integer.toString(value.getRGB() & 0xFFFFFF, 16));
}
}
示例14: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) {
JDOMExternalizer.write(element, ATTR_SHOW_DEFAULT, showDefault);
JDOMExternalizer.write(element, ATTR_CELL_SIZE, cellSize);
JDOMExternalizerEx.write(element, ATTR_WHITE_COLOR, whiteColor);
JDOMExternalizerEx.write(element, ATTR_BLACK_COLOR, blackColor);
}
示例15: writeExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) {
JDOMExternalizer.write(element, ATTR_SHOW_DEFAULT, showDefault);
JDOMExternalizer.write(element, ATTR_LINE_ZOOM_FACTOR, lineMinZoomFactor);
JDOMExternalizer.write(element, ATTR_LINE_SPAN, lineSpan);
JDOMExternalizerEx.write(element, ATTR_LINE_COLOR, lineColor);
}