• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java NewInterfaceWizardPage类的典型用法和代码示例

java 2次浏览

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

NewInterfaceWizardPage类属于org.eclipse.jdt.ui.wizards包,在下文中一共展示了NewInterfaceWizardPage类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: initNewInterfacePage

点赞 3

import org.eclipse.jdt.ui.wizards.NewInterfaceWizardPage; //导入依赖的package包/类
private void initNewInterfacePage(NewInterfaceWizardPage page, IType entityType) {
	IPackageFragment entityPf = entityType.getPackageFragment();

	IPackageFragmentRoot root = (IPackageFragmentRoot) entityPf
			.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
	if (root == null) {
		return;
	}
	page.setPackageFragmentRoot(root, true);

	IPackageFragment daoPf = NamingConventionUtil.getDaoPackageFromEntity(entityType);
	if (daoPf != null) {
		page.setPackageFragment(daoPf, true);
	}

	page.setEnclosingType(null, false);
	page.setTypeName(entityType.getElementName() + "Dao", true);
}
 

开发者ID:cntoplolicon,
项目名称:seasar2-assistant,
代码行数:19,
代码来源:SwitchToDaoHandler.java

示例2: NewInterfaceCreationWizard

点赞 2

import org.eclipse.jdt.ui.wizards.NewInterfaceWizardPage; //导入依赖的package包/类
public NewInterfaceCreationWizard(NewInterfaceWizardPage page, boolean openEditorOnFinish) {
	setDefaultPageImageDescriptor(JavaPluginImages.DESC_WIZBAN_NEWINT);
	setDialogSettings(JavaPlugin.getDefault().getDialogSettings());
	setWindowTitle(NewWizardMessages.NewInterfaceCreationWizard_title);

	fPage= page;
	fOpenEditorOnFinish= openEditorOnFinish;
}
 

开发者ID:trylimits,
项目名称:Eclipse-Postfix-Code-Completion,
代码行数:9,
代码来源:NewInterfaceCreationWizard.java

示例3: NewAsyncRemoteServiceInterfaceCreationWizard

点赞 2

import org.eclipse.jdt.ui.wizards.NewInterfaceWizardPage; //导入依赖的package包/类
public NewAsyncRemoteServiceInterfaceCreationWizard(NewInterfaceWizardPage page,
    boolean openEditorOnFinish) {
  super(page, openEditorOnFinish);
}
 

开发者ID:gwt-plugins,
项目名称:gwt-eclipse-plugin,
代码行数:5,
代码来源:NewAsyncRemoteServiceInterfaceCreationWizard.java

示例4: setConfiguredWizardPage

点赞 1

import org.eclipse.jdt.ui.wizards.NewInterfaceWizardPage; //导入依赖的package包/类
/**
 * Sets a page to be used by the wizard or <code>null</code> to use a page initialized with values
 * from the current selection (see {@link #getSelection()} and {@link #setSelection(IStructuredSelection)}).
 * @param page the page to use or <code>null</code>
 */
public void setConfiguredWizardPage(NewInterfaceWizardPage page) {
	fPage= page;
}
 

开发者ID:trylimits,
项目名称:Eclipse-Postfix-Code-Completion,
代码行数:9,
代码来源:OpenNewInterfaceWizardAction.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)