本文整理汇总了Java中org.eclipse.ui.forms.DetailsPart类的典型用法代码示例。如果您正苦于以下问题:Java DetailsPart类的具体用法?Java DetailsPart怎么用?Java DetailsPart使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DetailsPart类属于org.eclipse.ui.forms包,在下文中一共展示了DetailsPart类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: doubleClick
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
/**
* @see org.eclipse.jface.viewers.IDoubleClickListener#doubleClick(org.eclipse.jface.viewers.DoubleClickEvent)
*/
public void doubleClick(DoubleClickEvent event) {
IManagedForm managedForm = getManagedForm();
// Searchs for the details part in the managed form and set the focus on it.
IFormPart parts[] = managedForm.getParts();
for (int i = 0; i < parts.length; ++i) {
IFormPart currentPart = parts[i];
if (currentPart instanceof DetailsPart) {
currentPart.setFocus();
break;
}
}
}
示例2: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart arg0) {
// TODO Auto-generated method stub
}
示例3: getDetailsPart
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
public DetailsPart getDetailsPart() {
return this.detailsPart;
}
示例4: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart detailsPart) {
detailsPart.setPageProvider(this);
}
示例5: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart detailsPart) {
detailsPart.registerPage(ThemeColor.class, new ThemeColorDetailsPage());
}
示例6: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
/**
* @see org.eclipse.ui.forms.MasterDetailsBlock#registerPages(org.eclipse.ui.forms.DetailsPart)
*/
protected void registerPages(DetailsPart detailsPart) {
detailsPart.registerPage(Setting.class, new DetailsPage());
}
示例7: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart detailsPart) {
detailsPart.setPageProvider(new AutomationPageProvider(this));
}