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


Java IGotoMarker类代码示例

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


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

示例1: getAdapter

import org.eclipse.ui.ide.IGotoMarker; //导入依赖的package包/类
/**
 * This is how the framework determines which interfaces we implement.
 * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
 * @generated
 */
   @SuppressWarnings("rawtypes")
   @Override
   public Object getAdapter(Class key) {
	if (key.equals(IContentOutlinePage.class)) {
		return showOutlineView() ? getContentOutlinePage() : null;
	}
	else if (key.equals(IPropertySheetPage.class)) {
		return getPropertySheetPage();
	}
	else if (key.equals(IGotoMarker.class)) {
		return this;
	}
	else {
		return super.getAdapter(key);
	}
}
 
开发者ID:IncQueryLabs,项目名称:smarthome-cep-demonstrator,代码行数:23,代码来源:SmarthomeEditor.java

示例2: getAdapter

import org.eclipse.ui.ide.IGotoMarker; //导入依赖的package包/类
/**
 * This is how the framework determines which interfaces we implement.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public Object getAdapter(Class key) {
	if (key.equals(IContentOutlinePage.class)) {
		return showOutlineView() ? getContentOutlinePage() : null;
	}
	else if (key.equals(IPropertySheetPage.class)) {
		return getPropertySheetPage();
	}
	else if (key.equals(IGotoMarker.class)) {
		return this;
	}
	else {
		return super.getAdapter(key);
	}
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:23,代码来源:MetamodelEditor.java

示例3: getAdapter

import org.eclipse.ui.ide.IGotoMarker; //导入依赖的package包/类
/**
 * This is how the framework determines which interfaces we implement.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("rawtypes")
@Override
public Object getAdapter(Class key) {
	if (key.equals(IContentOutlinePage.class)) {
		return showOutlineView() ? getContentOutlinePage() : null;
	}
	else if (key.equals(IPropertySheetPage.class)) {
		return getPropertySheetPage();
	}
	else if (key.equals(IGotoMarker.class)) {
		return this;
	}
	else {
		return super.getAdapter(key);
	}
}
 
开发者ID:eclipse,项目名称:gemoc-studio-modeldebugging,代码行数:23,代码来源:TracingannotationsEditor.java

示例4: getAdapter

import org.eclipse.ui.ide.IGotoMarker; //导入依赖的package包/类
/**
 * This is how the framework determines which interfaces we implement.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings ( "rawtypes" )
@Override
public Object getAdapter ( Class key )
{
    if ( key.equals ( IContentOutlinePage.class ) )
    {
        return showOutlineView () ? getContentOutlinePage () : null;
    }
    else if ( key.equals ( IPropertySheetPage.class ) )
    {
        return getPropertySheetPage ();
    }
    else if ( key.equals ( IGotoMarker.class ) )
    {
        return this;
    }
    else
    {
        return super.getAdapter ( key );
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:28,代码来源:ProtocolEditor.java

示例5: getAdapter

import org.eclipse.ui.ide.IGotoMarker; //导入依赖的package包/类
/**
 * This is how the framework determines which interfaces we implement.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * 
 * @generated
 */
@SuppressWarnings ( "rawtypes" )
@Override
public Object getAdapter ( final Class key )
{
    if ( key.equals ( IContentOutlinePage.class ) )
    {
        return showOutlineView () ? getContentOutlinePage () : null;
    }
    else if ( key.equals ( IPropertySheetPage.class ) )
    {
        return getPropertySheetPage ();
    }
    else if ( key.equals ( IGotoMarker.class ) )
    {
        return this;
    }
    else
    {
        return super.getAdapter ( key );
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:29,代码来源:ChartEditor.java


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