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

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

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

ResourceImpl.eNotificationRequired介绍

暂无

代码示例

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

@Override
protected boolean isNotificationRequired()
{
  return ResourceImpl.this.eNotificationRequired();
}

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

@Override
protected boolean isNotificationRequired()
{
 return ResourceImpl.this.eNotificationRequired();
}

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

@Override
protected boolean isNotificationRequired()
{
  return ResourceImpl.this.eNotificationRequired();
}

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

@Override
protected boolean isNotificationRequired()
{
  return ResourceImpl.this.eNotificationRequired();
}

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

@Override
protected boolean isNotificationRequired()
{
 return ResourceImpl.this.eNotificationRequired();
}

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

@Override
protected boolean isNotificationRequired()
{
  return ResourceImpl.this.eNotificationRequired();
}

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

this.isLoaded = isLoaded;
if (eNotificationRequired())

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

this.isLoaded = isLoaded;
if (eNotificationRequired())

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

public void setURI(URI uri)
{
 URI oldURI = this.uri;
 this.uri = uri;
 if (eNotificationRequired())
 {
  Notification notification =
   new NotificationImpl(Notification.SET, oldURI, uri)
   {
    @Override
    public Object getNotifier()
    {
     return ResourceImpl.this;
    }
    @Override
    public int getFeatureID(Class<?> expectedClass)
    {
     return RESOURCE__URI;
    }
   };
  eNotify(notification);
 }
}

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

public void setTimeStamp(long timeStamp)
{
 long oldTimeStamp = this.timeStamp;
 this.timeStamp = timeStamp;
 if (eNotificationRequired())
 {
  Notification notification =
   new NotificationImpl(Notification.SET, oldTimeStamp, timeStamp)
   {
    @Override
    public Object getNotifier()
    {
     return ResourceImpl.this;
    }
    @Override
    public int getFeatureID(Class<?> expectedClass)
    {
     return RESOURCE__TIME_STAMP;
    }
   };
  eNotify(notification);
 }
}

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

public void setModified(boolean isModified)
{
 boolean oldIsModified = this.isModified;
 this.isModified = isModified;
 if (eNotificationRequired())
 {
  Notification notification =
   new NotificationImpl(Notification.SET, oldIsModified, isModified)
   {
    @Override
    public Object getNotifier()
    {
     return ResourceImpl.this;
    }
    @Override
    public int getFeatureID(Class<?> expectedClass)
    {
     return RESOURCE__IS_MODIFIED;
    }
   };
  eNotify(notification);
 }
}

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

public void setURI(URI uri)
{
 URI oldURI = this.uri;
 this.uri = uri;
 if (eNotificationRequired())
 {
  Notification notification =
   new NotificationImpl(Notification.SET, oldURI, uri)
   {
    @Override
    public Object getNotifier()
    {
     return ResourceImpl.this;
    }
    @Override
    public int getFeatureID(Class<?> expectedClass)
    {
     return RESOURCE__URI;
    }
   };
  eNotify(notification);
 }
}

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

public void setModified(boolean isModified)
{
 boolean oldIsModified = this.isModified;
 this.isModified = isModified;
 if (eNotificationRequired())
 {
  Notification notification =
   new NotificationImpl(Notification.SET, oldIsModified, isModified)
   {
    @Override
    public Object getNotifier()
    {
     return ResourceImpl.this;
    }
    @Override
    public int getFeatureID(Class<?> expectedClass)
    {
     return RESOURCE__IS_MODIFIED;
    }
   };
  eNotify(notification);
 }
}

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

public void setTimeStamp(long timeStamp)
{
 long oldTimeStamp = this.timeStamp;
 this.timeStamp = timeStamp;
 if (eNotificationRequired())
 {
  Notification notification =
   new NotificationImpl(Notification.SET, oldTimeStamp, timeStamp)
   {
    @Override
    public Object getNotifier()
    {
     return ResourceImpl.this;
    }
    @Override
    public int getFeatureID(Class<?> expectedClass)
    {
     return RESOURCE__TIME_STAMP;
    }
   };
  eNotify(notification);
 }
}

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

if (eNotificationRequired())

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

if (eNotificationRequired())

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

if (eNotificationRequired())

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

if (eNotificationRequired())

相关文章

微信公众号

最新文章

更多