本文整理了Java中org.eclipse.emf.ecore.resource.impl.ResourceImpl.getAllProperContents
方法的一些代码示例,展示了ResourceImpl.getAllProperContents
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceImpl.getAllProperContents
方法的具体详情如下:
包路径:org.eclipse.emf.ecore.resource.impl.ResourceImpl
类名称:ResourceImpl
方法名:getAllProperContents
暂无
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
/**
* Does all the work of unloading the resource.
* It calls {@link #unloaded unloaded} for each object it the content {@link #getAllContents tree},
* and clears the {@link #getContents contents}, {@link #getErrors errors}, and {@link #getWarnings warnings}.
*/
protected void doUnload()
{
Iterator<EObject> allContents = getAllProperContents(unloadingContents);
// This guard is needed to ensure that clear doesn't make the resource become loaded.
//
if (!getContents().isEmpty())
{
getContents().clear();
}
getErrors().clear();
getWarnings().clear();
while (allContents.hasNext())
{
unloaded((InternalEObject)allContents.next());
}
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
/**
* Does all the work of unloading the resource.
* It calls {@link #unloaded unloaded} for each object it the content {@link #getAllContents tree},
* and clears the {@link #getContents contents}, {@link #getErrors errors}, and {@link #getWarnings warnings}.
*/
protected void doUnload()
{
Iterator<EObject> allContents = getAllProperContents(unloadingContents);
// This guard is needed to ensure that clear doesn't make the resource become loaded.
//
if (!getContents().isEmpty())
{
getContents().clear();
}
getErrors().clear();
getWarnings().clear();
while (allContents.hasNext())
{
unloaded((InternalEObject)allContents.next());
}
}
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
public void detached(EObject eObject)
{
if (isAttachedDetachedHelperRequired())
{
detachedHelper(eObject);
for (TreeIterator<EObject> tree = getAllProperContents(eObject); tree.hasNext(); )
{
detachedHelper(tree.next());
}
}
}
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
for (TreeIterator<EObject> i = getAllProperContents(getContents()); i.hasNext(); )
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
public void attached(EObject eObject)
{
if (isAttachedDetachedHelperRequired())
{
attachedHelper(eObject);
for (TreeIterator<EObject> tree = getAllProperContents(eObject); tree.hasNext(); )
{
attachedHelper(tree.next());
}
}
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
for (TreeIterator<EObject> i = getAllProperContents(getContents()); i.hasNext(); )
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
public void attached(EObject eObject)
{
if (isAttachedDetachedHelperRequired())
{
attachedHelper(eObject);
for (TreeIterator<EObject> tree = getAllProperContents(eObject); tree.hasNext(); )
{
attachedHelper(tree.next());
}
}
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
public void detached(EObject eObject)
{
if (isAttachedDetachedHelperRequired())
{
detachedHelper(eObject);
for (TreeIterator<EObject> tree = getAllProperContents(eObject); tree.hasNext(); )
{
detachedHelper(tree.next());
}
}
}
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
for (TreeIterator<EObject> i = getAllProperContents(getContents()); i.hasNext(); )
modificationTrackingAdapter = null;
for (TreeIterator<EObject> i = getAllProperContents(getContents()); i.hasNext(); )
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
for (TreeIterator<EObject> i = getAllProperContents(getContents()); i.hasNext(); )
modificationTrackingAdapter = null;
for (TreeIterator<EObject> i = getAllProperContents(getContents()); i.hasNext(); )
内容来源于网络,如有侵权,请联系作者删除!