本文整理了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
暂无
代码示例来源: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())
内容来源于网络,如有侵权,请联系作者删除!