本文整理汇总了Java中org.eclipse.emf.common.ui.ViewerPane类的典型用法代码示例。如果您正苦于以下问题:Java ViewerPane类的具体用法?Java ViewerPane怎么用?Java ViewerPane使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ViewerPane类属于org.eclipse.emf.common.ui包,在下文中一共展示了ViewerPane类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setCurrentViewerPane
import org.eclipse.emf.common.ui.ViewerPane; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCurrentViewerPane(ViewerPane viewerPane) {
if (currentViewerPane != viewerPane) {
if (currentViewerPane != null) {
currentViewerPane.showFocus(false);
}
currentViewerPane = viewerPane;
}
setCurrentViewer(currentViewerPane.getViewer());
}
示例2: setCurrentViewerPane
import org.eclipse.emf.common.ui.ViewerPane; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCurrentViewerPane(ViewerPane viewerPane) {
if (currentViewerPane != viewerPane) {
if (currentViewerPane != null) {
currentViewerPane.showFocus(false);
}
currentViewerPane = viewerPane;
}
setCurrentViewer(currentViewerPane.getViewer());
}
示例3: setCurrentViewerPane
import org.eclipse.emf.common.ui.ViewerPane; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCurrentViewerPane ( ViewerPane viewerPane )
{
if ( currentViewerPane != viewerPane )
{
if ( currentViewerPane != null )
{
currentViewerPane.showFocus ( false );
}
currentViewerPane = viewerPane;
}
setCurrentViewer ( currentViewerPane.getViewer () );
}
示例4: setCurrentViewerPane
import org.eclipse.emf.common.ui.ViewerPane; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public void setCurrentViewerPane ( final ViewerPane viewerPane )
{
if ( this.currentViewerPane != viewerPane )
{
if ( this.currentViewerPane != null )
{
this.currentViewerPane.showFocus ( false );
}
this.currentViewerPane = viewerPane;
}
setCurrentViewer ( this.currentViewerPane.getViewer () );
}