本文整理匯總了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();
}
}
示例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();
}
}
示例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();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}
示例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 ();
}
}