本文整理汇总了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;
}
}
}
开发者ID:anb0s,项目名称:eclox,代码行数:17,代码来源:MasterPart.java
示例2: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart arg0) {
// TODO Auto-generated method stub
}
开发者ID:angelozerr,项目名称:typescript.java,代码行数:6,代码来源:AbstractFormBlock.java
示例3: getDetailsPart
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
public DetailsPart getDetailsPart() {
return this.detailsPart;
}
开发者ID:angelozerr,项目名称:typescript.java,代码行数:4,代码来源:AbstractFormBlock.java
示例4: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart detailsPart) {
detailsPart.setPageProvider(this);
}
开发者ID:eclipse,项目名称:cft,代码行数:5,代码来源:ApplicationMasterDetailsBlock.java
示例5: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart detailsPart) {
detailsPart.registerPage(ThemeColor.class, new ThemeColorDetailsPage());
}
开发者ID:yamcs,项目名称:yamcs-studio,代码行数:5,代码来源:ThemeColorBlock.java
示例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());
}
开发者ID:anb0s,项目名称:eclox,代码行数:7,代码来源:Block.java
示例7: registerPages
import org.eclipse.ui.forms.DetailsPart; //导入依赖的package包/类
@Override
protected void registerPages(DetailsPart detailsPart) {
detailsPart.setPageProvider(new AutomationPageProvider(this));
}
开发者ID:AlexWengh,项目名称:HMM,代码行数:5,代码来源:AutomationBlock.java
注:本文中的org.eclipse.ui.forms.DetailsPart类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论