當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。