コード例 #1
0
 /**
  * {@inheritDoc}
  *
  * @see
  *     org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProviderFactory#provides(java.lang.Object)
  */
 public boolean provides(Object key) {
   for (IPropertiesEditionPartProvider editPropertiesPartProvider : editPropertiesPartProviders) {
     if (editPropertiesPartProvider.provides(key)) return true;
   }
   return false;
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  *
  * @see
  *     org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProviderFactory#getProvider(java.lang.Object)
  */
 public IPropertiesEditionPartProvider getProvider(Object key) {
   for (IPropertiesEditionPartProvider editPropertiesPartProvider : editPropertiesPartProviders) {
     if (editPropertiesPartProvider.provides(key)) return editPropertiesPartProvider;
   }
   return null;
 }