类org.eclipse.ui.forms.editor.FormPage源码实例Demo

下面列出了怎么用org.eclipse.ui.forms.editor.FormPage的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: tlaplus   文件: ModelEditor.java
/**
* @param index the tab index
* @return null if the index is greater than or equal to the number of tabs,
*         else the id of the {@link FormPage} which is at that index
*/
  public String getIdForEditorAtIndex(final int index) {
  	final FormPage editor = (FormPage)getEditor(index);
  	
  	if (editor != null) {
  		return editor.getId();
  	}
  	
  	return null;
  }
 
源代码2 项目: tlaplus   文件: ModelEditor.java
private Pair<Integer, FormPage> getLastFormPage() {
	int index = getPageCount() - 1;
	
	while (index >= 0) {
		final IEditorPart iep = getEditor(index);
		
		if (iep instanceof FormPage) {
			return Pair.of(new Integer(index), (FormPage)iep);
		}
		
		index--;
	}
	
	return null;
}
 
源代码3 项目: olca-app   文件: CommentsEditor.java
@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 项目: olca-app   文件: PythonEditor.java
@Override
protected FormPage getPage() {
	return page = new Page();
}
 
源代码5 项目: olca-app   文件: SqlEditor.java
@Override
protected FormPage getPage() {
	return page = new Page();
}
 
源代码6 项目: olca-app   文件: ParameterUsagePage.java
@Override
protected FormPage getPage() {
	return new Page(tree);
}
 
源代码7 项目: olca-app   文件: SearchPage.java
@Override
protected FormPage getPage() {
	String title = input.getName() +
			" (" + results.size() + " " + M.Results + ")";
	return new ResultPage(this, title, results);
}
 
源代码8 项目: olca-app   文件: LinkingPropertiesPage.java
@Override
protected FormPage getPage() {
	return new Page();
}
 
源代码9 项目: olca-app   文件: MappingTool.java
@Override
protected FormPage getPage() {
	page = new MappingPage(this);
	return page;
}
 
源代码10 项目: olca-app   文件: LibraryInfoPage.java
@Override
protected FormPage getPage() {
	return new Page();
}
 
源代码11 项目: olca-app   文件: BigParameterTable.java
@Override
protected FormPage getPage() {
	return new Page();
}
 
源代码12 项目: olca-app   文件: StartPage.java
@Override
protected FormPage getPage() {
	return new Page();
}
 
源代码13 项目: olca-app   文件: ReportViewer.java
@Override
protected FormPage getPage() {
	return new Page();
}
 
源代码14 项目: olca-app   文件: SimulationEditor.java
@Override
protected FormPage getPage() {
	return new SimulationPage(this);
}
 
源代码15 项目: olca-app   文件: SimpleFormEditor.java
protected abstract FormPage getPage(); 
 类所在包
 类方法
 同包方法