Community
Participate
Working Groups
Moving a NestedClass in the model explorer to another location may result in the Class being destroyed. See the attached screenshot showing how the Nested Class is moved.
Created attachment 182712 [details] Moving nested Class Doing this move action the moved nested Class disappear from model.
fixed in the revision 3382 The bug was due about the target of the drop and dropped element was the same. So it was removed from the list for the set command To prevent this bug a test has been added as follow: if(!newElement.equals(objectLocation)){ tmp.remove(newElement); //normally tmp.indexOf(objectLocation)!= -1 //if this the case objectlocation=new element and //it has been removed int indexObject=tmp.indexOf(objectLocation); if( before&& indexObject!=-1){ tmp.add(tmp.indexOf(objectLocation), newElement); } else if( !before&& indexObject!=-1){ tmp.add(tmp.indexOf(objectLocation)+1, newElement); } }