本文整理汇总了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());
}
示例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;
}
}
示例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);
}
示例4: AutomationBlock
import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
public AutomationBlock(FormPage page) {
this.page = page;
}
示例5: getPage
import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
@Override
protected FormPage getPage() {
return page = new Page();
}
示例6: getPage
import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
@Override
protected FormPage getPage() {
return new Page();
}
示例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);
}
示例8: getPage
import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
@Override
protected FormPage getPage() {
return new SimulationPage(this);
}
示例9: NamespaceDetailsBlock
import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
public NamespaceDetailsBlock(FormPage page) {
this.page = page;
}
示例10: getPage
import org.eclipse.ui.forms.editor.FormPage; //导入依赖的package包/类
/**
* FormPage 반환
*
* @return FormPage
*/
public FormPage getPage() {
return page;
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}