本文整理匯總了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());
}