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


Java JDOMExternalizer.write方法代码示例

本文整理汇总了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());
}
 
开发者ID:samwoods1,项目名称:BeakerRubyMinePlugin,代码行数:20,代码来源:BeakerRunConfiguration.java

示例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);

}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:14,代码来源:MvcRunConfiguration.java

示例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");
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:12,代码来源:GroovyScriptRunConfiguration.java

示例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);
}
 
开发者ID:getgauge,项目名称:Intellij-Plugin,代码行数:15,代码来源:GaugeRunConfiguration.java

示例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);
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:14,代码来源:MvcRunConfiguration.java

示例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);
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:12,代码来源:GroovyScriptRunConfiguration.java

示例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);
    }
 
开发者ID:dboissier,项目名称:nosql4idea,代码行数:10,代码来源:MongoRunConfiguration.java

示例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);
}
 
开发者ID:code4craft,项目名称:ibatis-plugin,代码行数:15,代码来源:IbatisFacetConfiguration.java

示例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());
  }
}
 
开发者ID:BladeRunnerJS,项目名称:brjs-JsTestDriver,代码行数:11,代码来源:JSTestDriverConfiguration.java

示例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);
	}
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:10,代码来源:CollectionsMustHaveInitialCapacityInspection.java

示例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);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:ZoomOptionsImpl.java

示例12: writeExternal

import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void writeExternal(Element element) {
    JDOMExternalizer.write(element, ATTR_EXECUTABLE_PATH, executablePath);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:4,代码来源:ExternalEditorOptionsImpl.java

示例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));
    }
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:JDOMExternalizerEx.java

示例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);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:TransparencyChessboardOptionsImpl.java

示例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);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:GridOptionsImpl.java


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