当前位置: 首页>>代码示例>>Java>>正文


Java FormPage类代码示例

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


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

示例1: AbstractSection

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * 생성자
 * 
 * @param parent
 * @param toolkit
 * @param style
 * @param titleBarYn
 */
public AbstractSection(FormPage page, Composite parent, int style, boolean titleBarYn) {
    super(parent, page.getManagedForm().getToolkit(), titleBarYn ? (Section.TITLE_BAR | style) : style);
    this.page = page;
    // 설명, 에러 메시지를 출력할 컨트롤 설정
    messageText = (Text) getSection().getDescriptionControl();
    initialize(page.getManagedForm());

    getSection().clientVerticalSpacing = CLIENT_VSPACING;
    getSection().setData("part", this); //$NON-NLS-1$

    createClient(getSection(), page.getManagedForm().getToolkit());
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:21,代码来源:AbstractSection.java

示例2: OverviewProjectInformationSection

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * @param page
 * @param parent
 * @param style
 */
public OverviewProjectInformationSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);

    try {
        this.rmData = RMDataUtil.findRMData(model);
    } catch (Exception e) {
        this.rmData = null;
    }
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:15,代码来源:OverviewProjectInformationSection.java

示例3: getPage

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
@Override
protected FormPage getPage() {
	RepositoryClient client = Database.getRepositoryClient();
	List<Comment> comments = new ArrayList<>();
	try {
		comments = client.getAllComments();
	} catch (WebRequestException e) {
		log.error("Error loading comments" , e);
	}
	return new CommentsPage(this, comments);
}
 
开发者ID:GreenDelta,项目名称:olca-app,代码行数:12,代码来源:CommentsEditor.java

示例4: AutomationBlock

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
public AutomationBlock(FormPage page) {
	this.page = page;
}
 
开发者ID:AlexWengh,项目名称:HMM,代码行数:4,代码来源:AutomationBlock.java

示例5: getPage

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
@Override
protected FormPage getPage() {
	return page = new Page();
}
 
开发者ID:GreenDelta,项目名称:olca-app,代码行数:5,代码来源:PythonEditor.java

示例6: getPage

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
@Override
protected FormPage getPage() {
	return new Page();
}
 
开发者ID:GreenDelta,项目名称:olca-app,代码行数:5,代码来源:SearchResultView.java

示例7: formHeader

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/** Creates a nice form header with the given title and returns the form. */
public static ScrolledForm formHeader(FormPage page, String subtitle, Image image) {
	return formHeader(page.getManagedForm(), page.getTitle() + ": " + subtitle, image);
}
 
开发者ID:GreenDelta,项目名称:olca-app,代码行数:5,代码来源:UI.java

示例8: getPage

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
@Override
protected FormPage getPage() {
	return new SimulationPage(this);
}
 
开发者ID:GreenDelta,项目名称:olca-app,代码行数:5,代码来源:SimulationEditor.java

示例9: NamespaceDetailsBlock

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
public NamespaceDetailsBlock(FormPage page) {
    this.page = page;
}
 
开发者ID:mulesoft,项目名称:mule-tooling-incubator,代码行数:4,代码来源:NamespaceDetailsBlock.java

示例10: getPage

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * FormPage 반환
 * 
 * @return FormPage
 */
public FormPage getPage() {
    return page;
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:9,代码来源:AbstractSection.java

示例11: OverviewModelDetailSection

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public OverviewModelDetailSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);

}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:11,代码来源:OverviewModelDetailSection.java

示例12: FragmentSection

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public FragmentSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:10,代码来源:FragmentSection.java

示例13: DetailsProfileSection

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public DetailsProfileSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:10,代码来源:DetailsProfileSection.java

示例14: DiagramSection

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * 생성자
 * 
 * @param fragmentDiagramPage
 * @param parent
 */
public DiagramSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:10,代码来源:DiagramSection.java

示例15: OverviewGeneralSection

import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public OverviewGeneralSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:10,代码来源:OverviewGeneralSection.java


注:本文中的org.eclipse.ui.forms.editor.FormPage类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。