本文整理汇总了Java中com.jetbrains.python.run.AbstractPyCommonOptionsForm类的典型用法代码示例。如果您正苦于以下问题:Java AbstractPyCommonOptionsForm类的具体用法?Java AbstractPyCommonOptionsForm怎么用?Java AbstractPyCommonOptionsForm使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AbstractPyCommonOptionsForm类属于com.jetbrains.python.run包,在下文中一共展示了AbstractPyCommonOptionsForm类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createEnvPanel
import com.jetbrains.python.run.AbstractPyCommonOptionsForm; //导入依赖的package包/类
@NotNull
private AbstractPyCommonOptionsForm createEnvPanel() {
return PyCommonOptionsFormFactory.getInstance().createForm(new PyCommonOptionsFormData() {
@Override
public Project getProject() {
return myProject;
}
@Override
public List<Module> getValidModules() {
return AbstractPythonRunConfiguration.getValidModules(myProject);
}
@Override
public boolean showConfigureInterpretersLink() {
return false;
}
});
}
示例2: isModified
import com.jetbrains.python.run.AbstractPyCommonOptionsForm; //导入依赖的package包/类
public boolean isModified(AbstractPyCommonOptionsForm form) {
return !ComparatorUtil.equalsNullable(mySdkHome, form.getSdkHome()) ||
!myInterpreterOptions.equals(form.getInterpreterOptions()) ||
!myEnvs.equals(form.getEnvs()) ||
myUseModuleSdk != form.isUseModuleSdk() ||
myAddContentRoots != form.shouldAddContentRoots() ||
myAddSourceRoots != form.shouldAddSourceRoots()
|| !ComparatorUtil.equalsNullable(myModuleName, form.getModule() == null ? null : form.getModule().getName())
|| !myWorkingDirectory.equals(form.getWorkingDirectory())
|| !myMappings.equals(form.getMappingSettings());
}