Class UniqNamesManager
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.commands.UniqNamesManager
-
Method Summary
Modifier and TypeMethodDescription<T extends org.eclipse.emf.ecore.EObject>
longfindLastNumber(List<T> existingObjects, String objectIdPattern) <C extends org.eclipse.emf.ecore.EObject,T extends org.eclipse.emf.ecore.EObject>
StringgenerateUniqueId(C container, T eObject, String pattern) getId(org.eclipse.emf.ecore.EObject object) org.eclipse.emf.ecore.EAttributegetIdAttribute(org.eclipse.emf.ecore.EClass eClass) static UniqNamesManagerorg.eclipse.emf.ecore.EAttributegetNameAttribute(org.eclipse.emf.ecore.EClass eclass) <C extends org.eclipse.emf.ecore.EObject,T extends org.eclipse.emf.ecore.EObject>
StringgetNameUniq(C container, T eObject, String oldName) void
-
Method Details
-
getInstance
-
generateUniqueId
-
getIdAttribute
public org.eclipse.emf.ecore.EAttribute getIdAttribute(org.eclipse.emf.ecore.EClass eClass) -
getNameAttribute
public org.eclipse.emf.ecore.EAttribute getNameAttribute(org.eclipse.emf.ecore.EClass eclass) -
getId
-
setId
-
findLastNumber
-
getNameUniq
-