org.eclipse.emf.ecore.resource.impl.ResourceImpl.setLoaded()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(119)

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

ResourceImpl.setLoaded介绍

[英]Sets the load state as indicated, and returns a notification, if org.eclipse.emf.common.notify.impl.BasicNotifierImpl#eNotificationRequired. Clients are not expected to call this directly; it is managed by the implementation.
[中]按指示设置加载状态,并返回通知(如果有)。日食电动势。常见的通知impl。需要基本强化措施。客户不应直接致电;它由实施部门管理。

代码示例

代码示例来源:origin: atlanmod/NeoEMF

@Override
public Notification setLoaded(boolean isLoaded) {
  // Here to change the visibility (`protected` to `public`): see RootContentsList
  return super.setLoaded(isLoaded);
}

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

protected void loaded()
{
 if (!ResourceImpl.this.isLoaded())
 {
  Notification notification = ResourceImpl.this.setLoaded(true);
  if (notification != null)
  {
   ResourceImpl.this.eNotify(notification);
  }
 }
}

代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore

protected void loaded()
{
 if (!ResourceImpl.this.isLoaded())
 {
  Notification notification = ResourceImpl.this.setLoaded(true);
  if (notification != null)
  {
   ResourceImpl.this.eNotify(notification);
  }
 }
}

代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore

public final void unload()
{
 if (isLoaded)
 {
  unloadingContents = getUnloadingContents();
  Notification notification = setLoaded(false);
  try
  {
   doUnload();
  }
  finally
  {
   unloadingContents = null;
   if (notification != null)
   {
    eNotify(notification);
   }
   setTimeStamp(URIConverter.NULL_TIME_STAMP);
  }
 }
}

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

public final void unload()
{
 if (isLoaded)
 {
  unloadingContents = getUnloadingContents();
  Notification notification = setLoaded(false);
  try
  {
   doUnload();
  }
  finally
  {
   unloadingContents = null;
   if (notification != null)
   {
    eNotify(notification);
   }
   setTimeStamp(URIConverter.NULL_TIME_STAMP);
  }
 }
}

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

Notification notification = setLoaded(true);
isLoading = true;
if (errors != null)

代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore

Notification notification = setLoaded(true);
isLoading = true;
if (errors != null)

代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore

Notification notification = setLoaded(true);
isLoading = true;

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

Notification notification = setLoaded(true);
isLoading = true;

相关文章

微信公众号

最新文章

更多