本文整理了Java中org.eclipse.ui.dialogs.WizardNewProjectCreationPage.getProjectHandle()
方法的一些代码示例,展示了WizardNewProjectCreationPage.getProjectHandle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WizardNewProjectCreationPage.getProjectHandle()
方法的具体详情如下:
包路径:org.eclipse.ui.dialogs.WizardNewProjectCreationPage
类名称:WizardNewProjectCreationPage
方法名:getProjectHandle
[英]Creates a project resource handle for the current project name field value. The project handle is created relative to the workspace root.
This method does not create the project resource; this is the responsibility of IProject::create
invoked by the new project resource wizard.
[中]为当前项目名称字段值创建项目资源句柄。项目句柄是相对于工作区根创建的。
此方法不创建项目资源;这是新项目资源向导调用的IProject::create
的责任。
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
/**
* Returns the project handle. Subclasses should override this
* method if they don't provide a main page or if they provide
* their own main page implementation.
*
* @return the project handle
*/
protected IProject getProjectHandle() {
Assert.isNotNull(fMainPage);
return fMainPage.getProjectHandle();
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
/**
* Returns the project handle. Subclasses should override this
* method if they don't provide a main page or if they provide
* their own main page implementation.
*
* @return the project handle
*/
protected IProject getProjectHandle() {
Assert.isNotNull(fMainPage);
return fMainPage.getProjectHandle();
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
/**
* Returns the project handle. Subclasses should override this
* method if they don't provide a main page or if they provide
* their own main page implementation.
*
* @return the project handle
*/
protected IProject getProjectHandle() {
Assert.isNotNull(fMainPage);
return fMainPage.getProjectHandle();
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.ide
final IProject newProjectHandle = mainPage.getProjectHandle();
代码示例来源:origin: org.openl/org.openl.eclipse.ui.wizard
private IProject createNewProject() {
final OpenLProjectCreator creator = new OpenLProjectCreator(mainPage.getProjectHandle(),
mainPage.useDefaults() ? null : mainPage.getLocationPath());
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.ide
IProject handle = getProjectHandle();
if (handle.exists()) {
setErrorMessage(IDEWorkbenchMessages.WizardNewProjectCreationPage_projectExistsMessage);
内容来源于网络,如有侵权,请联系作者删除!