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


Java HaxeModuleSettingsBase类代码示例

本文整理汇总了Java中com.intellij.plugins.haxe.module.HaxeModuleSettingsBase的典型用法代码示例。如果您正苦于以下问题:Java HaxeModuleSettingsBase类的具体用法?Java HaxeModuleSettingsBase怎么用?Java HaxeModuleSettingsBase使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


HaxeModuleSettingsBase类属于com.intellij.plugins.haxe.module包,在下文中一共展示了HaxeModuleSettingsBase类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setupUserProperties

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
private static void setupUserProperties(List<String> commandLine, CompilationContext context) {
  final HaxeModuleSettingsBase settings = context.getModuleSettings();
  commandLine.add("-main");
  commandLine.add(context.getCompilationClass());

  final StringTokenizer argumentsTokenizer = new StringTokenizer(settings.getArguments());
  while (argumentsTokenizer.hasMoreTokens()) {
    commandLine.add(argumentsTokenizer.nextToken());
  }

  if (context.isDebug()) {
    commandLine.add("-debug");
  }
  if (context.getHaxeTarget() == HaxeTarget.FLASH && context.isDebug()) {
    commandLine.add("-D");
    commandLine.add("fdb");
  }

  for (String sourceRoot : context.getSourceRoots()) {
    commandLine.add("-cp");
    commandLine.add(sourceRoot);
  }

  commandLine.add(context.getHaxeTarget().getCompilerFlag());
  commandLine.add(context.getOutputFileName());
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:27,代码来源:HaxeCommonCompilerUtil.java

示例2: setupNME

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
private static void setupNME(List<String> commandLine, CompilationContext context) {
  final HaxeModuleSettingsBase settings = context.getModuleSettings();
  commandLine.add("run");
  commandLine.add("nme");
  commandLine.add("build");
  commandLine.add(settings.getNmmlPath());
  commandLine.add(settings.getNmeTarget().getTargetFlag());
  if (context.isDebug()) {
    commandLine.add("-debug");
    commandLine.add("-Ddebug");
  }
  if (settings.getNmeTarget() == NMETarget.FLASH && context.isDebug()) {
    commandLine.add("-Dfdb");
  }
  final StringTokenizer flagsTokenizer = new StringTokenizer(settings.getNmeFlags());
  while (flagsTokenizer.hasMoreTokens()) {
    commandLine.add(flagsTokenizer.nextToken());
  }
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:20,代码来源:HaxeCommonCompilerUtil.java

示例3: setupUserProperties

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
private static void setupUserProperties(List<String> commandLine, CompilationContext context) {
  final HaxeModuleSettingsBase settings = context.getModuleSettings();
  commandLine.add("-main");
  commandLine.add(settings.getMainClass());

  final StringTokenizer argumentsTokenizer = new StringTokenizer(settings.getArguments());
  while (argumentsTokenizer.hasMoreTokens()) {
    commandLine.add(argumentsTokenizer.nextToken());
  }

  if (context.isDebug()) {
    commandLine.add("-debug");
  }
  if (settings.getHaxeTarget() == HaxeTarget.FLASH && context.isDebug()) {
    commandLine.add("-D");
    commandLine.add("fdb");
  }

  for (String sourceRoot : context.getSourceRoots()) {
    commandLine.add("-cp");
    commandLine.add(sourceRoot);
  }

  commandLine.add(settings.getHaxeTarget().getCompilerFlag());
  commandLine.add(settings.getOutputFileName());
}
 
开发者ID:consulo,项目名称:consulo-haxe,代码行数:27,代码来源:HaxeCommonCompilerUtil.java

示例4: setupOpenFL

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
private static void setupOpenFL(List<String> commandLine, CompilationContext context) {
  final HaxeModuleSettingsBase settings = context.getModuleSettings();
  commandLine.add("run");
  commandLine.add("lime");
  commandLine.add("build");

  if(!StringUtil.isEmpty(settings.getOpenFLPath())) {
    commandLine.add(settings.getOpenFLPath());
  }

  commandLine.add(settings.getOpenFLTarget().getTargetFlag());

  commandLine.add("-verbose");

  if (context.isDebug()) {
    commandLine.add("-debug");
    commandLine.add("-Ddebug");

    if (settings.getOpenFLTarget() == OpenFLTarget.FLASH) {
      commandLine.add("-Dfdb");
    }
  }


  final StringTokenizer flagsTokenizer = new StringTokenizer(settings.getOpenFLFlags());
  while (flagsTokenizer.hasMoreTokens()) {
    commandLine.add(flagsTokenizer.nextToken());
  }
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:30,代码来源:HaxeCommonCompilerUtil.java

示例5: JpsHaxeModuleSettingsImpl

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
public JpsHaxeModuleSettingsImpl(HaxeModuleSettingsBase base) {
  mySettingsBase = base;
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:4,代码来源:JpsHaxeModuleSettingsImpl.java

示例6: getProperties

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
@Override
public HaxeModuleSettingsBase getProperties() {
  return mySettingsBase;
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:5,代码来源:JpsHaxeModuleSettingsImpl.java

示例7: getModuleSettings

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
@NotNull
HaxeModuleSettingsBase getModuleSettings();
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:3,代码来源:HaxeCommonCompilerUtil.java

示例8: getProperties

import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
HaxeModuleSettingsBase getProperties(); 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:2,代码来源:JpsHaxeModuleSettings.java


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