本文整理汇总了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());
}
示例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());
}
}
示例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());
}
示例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());
}
}
示例5: JpsHaxeModuleSettingsImpl
import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
public JpsHaxeModuleSettingsImpl(HaxeModuleSettingsBase base) {
mySettingsBase = base;
}
示例6: getProperties
import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
@Override
public HaxeModuleSettingsBase getProperties() {
return mySettingsBase;
}
示例7: getModuleSettings
import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
@NotNull
HaxeModuleSettingsBase getModuleSettings();
示例8: getProperties
import com.intellij.plugins.haxe.module.HaxeModuleSettingsBase; //导入依赖的package包/类
HaxeModuleSettingsBase getProperties();