org.eclipse.emf.common.notify.Adapter.isAdapterForType()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中org.eclipse.emf.common.notify.Adapter.isAdapterForType()方法的一些代码示例,展示了Adapter.isAdapterForType()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Adapter.isAdapterForType()方法的具体详情如下:
包路径:org.eclipse.emf.common.notify.Adapter
类名称:Adapter
方法名:isAdapterForType

Adapter.isAdapterForType介绍

[英]Returns whether the adapter is of the given type. In general, an adapter may be the adapter for many types.
[中]返回适配器是否为给定类型。通常,适配器可能是许多类型的适配器。

代码示例

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(InnerBlockDocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(InnerBlockDocumentationAdapter.class);
  }
});

代码示例来源:origin: io.sarl.lang/io.sarl.lang

public boolean test(Adapter adapter) {
    return adapter.isAdapterForType(DocumentationAdapter.class);
  }
});

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.common

public Adapter adapt(Notifier target, Object type)
{
 for (Adapter adapter : target.eAdapters())
 {
  if (adapter.isAdapterForType(type))
  {
   return adapter;
  }
 }
 return adaptNew(target, type);
}

相关文章