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


Java PropertySheet类代码示例

本文整理汇总了Java中org.eclipse.ui.views.properties.PropertySheet的典型用法代码示例。如果您正苦于以下问题:Java PropertySheet类的具体用法?Java PropertySheet怎么用?Java PropertySheet使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


PropertySheet类属于org.eclipse.ui.views.properties包,在下文中一共展示了PropertySheet类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated(IWorkbenchPart p) {
	if (p instanceof ContentOutline) {
		if (((ContentOutline)p).getCurrentPage() == contentOutlinePage) {
			getActionBarContributor().setActiveEditor(SmarthomeEditor.this);

			setCurrentViewer(contentOutlineViewer);
		}
	}
	else if (p instanceof PropertySheet) {
		if (propertySheetPages.contains(((PropertySheet)p).getCurrentPage())) {
			getActionBarContributor().setActiveEditor(SmarthomeEditor.this);
			handleActivate();
		}
	}
	else if (p == SmarthomeEditor.this) {
		handleActivate();
	}
}
 
开发者ID:IncQueryLabs,项目名称:smarthome-cep-demonstrator,代码行数:19,代码来源:SmarthomeEditor.java

示例2: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated(IWorkbenchPart p) {
	if (p instanceof ContentOutline) {
		if (((ContentOutline)p).getCurrentPage() == contentOutlinePage) {
			getActionBarContributor().setActiveEditor(MetamodelEditor.this);

			setCurrentViewer(contentOutlineViewer);
		}
	}
	else if (p instanceof PropertySheet) {
		if (propertySheetPages.contains(((PropertySheet)p).getCurrentPage())) {
			getActionBarContributor().setActiveEditor(MetamodelEditor.this);
			handleActivate();
		}
	}
	else if (p == MetamodelEditor.this) {
		handleActivate();
	}
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:19,代码来源:MetamodelEditor.java

示例3: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated(IWorkbenchPart p) {
	if (p instanceof ContentOutline) {
		if (((ContentOutline)p).getCurrentPage() == contentOutlinePage) {
			getActionBarContributor().setActiveEditor(TracingannotationsEditor.this);

			setCurrentViewer(contentOutlineViewer);
		}
	}
	else if (p instanceof PropertySheet) {
		if (propertySheetPages.contains(((PropertySheet)p).getCurrentPage())) {
			getActionBarContributor().setActiveEditor(TracingannotationsEditor.this);
			handleActivate();
		}
	}
	else if (p == TracingannotationsEditor.this) {
		handleActivate();
	}
}
 
开发者ID:eclipse,项目名称:gemoc-studio-modeldebugging,代码行数:19,代码来源:TracingannotationsEditor.java

示例4: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( ProtocolEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( ProtocolEditor.this );
            handleActivate ();
        }
    }
    else if ( p == ProtocolEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:ProtocolEditor.java

示例5: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
@Override
public void partActivated ( final IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == ChartEditor.this.contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( ChartEditor.this );

            setCurrentViewer ( ChartEditor.this.contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( ChartEditor.this.propertySheetPages.contains ( ( (PropertySheet)p )
                .getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( ChartEditor.this );
            handleActivate ();
        }
    }
    else if ( p == ChartEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:27,代码来源:ChartEditor.java

示例6: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( DetailViewEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( DetailViewEditor.this );
            handleActivate ();
        }
    }
    else if ( p == DetailViewEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:DetailViewEditor.java

示例7: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( VisualInterfaceEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( VisualInterfaceEditor.this );
            handleActivate ();
        }
    }
    else if ( p == VisualInterfaceEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:VisualInterfaceEditor.java

示例8: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( DeploymentEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( DeploymentEditor.this );
            handleActivate ();
        }
    }
    else if ( p == DeploymentEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:DeploymentEditor.java

示例9: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( SetupEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( SetupEditor.this );
            handleActivate ();
        }
    }
    else if ( p == SetupEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:SetupEditor.java

示例10: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( ProfileEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( ProfileEditor.this );
            handleActivate ();
        }
    }
    else if ( p == ProfileEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:ProfileEditor.java

示例11: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( OsgiEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( OsgiEditor.this );
            handleActivate ();
        }
    }
    else if ( p == OsgiEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:OsgiEditor.java

示例12: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( WorldEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( WorldEditor.this );
            handleActivate ();
        }
    }
    else if ( p == WorldEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:WorldEditor.java

示例13: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( MemoryEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( MemoryEditor.this );
            handleActivate ();
        }
    }
    else if ( p == MemoryEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:MemoryEditor.java

示例14: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( RecipeEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( RecipeEditor.this );
            handleActivate ();
        }
    }
    else if ( p == RecipeEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:RecipeEditor.java

示例15: partActivated

import org.eclipse.ui.views.properties.PropertySheet; //导入依赖的package包/类
public void partActivated ( IWorkbenchPart p )
{
    if ( p instanceof ContentOutline )
    {
        if ( ( (ContentOutline)p ).getCurrentPage () == contentOutlinePage )
        {
            getActionBarContributor ().setActiveEditor ( InfrastructureEditor.this );

            setCurrentViewer ( contentOutlineViewer );
        }
    }
    else if ( p instanceof PropertySheet )
    {
        if ( propertySheetPages.contains ( ( (PropertySheet)p ).getCurrentPage () ) )
        {
            getActionBarContributor ().setActiveEditor ( InfrastructureEditor.this );
            handleActivate ();
        }
    }
    else if ( p == InfrastructureEditor.this )
    {
        handleActivate ();
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:25,代码来源:InfrastructureEditor.java


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