当前位置: 首页>>代码示例>>Java>>正文


Java ViewerPane类代码示例

本文整理汇总了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());
}
 
开发者ID:IncQueryLabs,项目名称:smarthome-cep-demonstrator,代码行数:15,代码来源:SmarthomeEditor.java

示例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());
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:15,代码来源:MetamodelEditor.java

示例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 () );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:18,代码来源:ProtocolEditor.java

示例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 () );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:19,代码来源:ChartEditor.java


注:本文中的org.eclipse.emf.common.ui.ViewerPane类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。