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