本文整理汇总了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 ();
}
}