public static String FIGURE_ID_PREFIX = "FIGURE_ID_PREFIX_";
public static FeatureFigure dupFeatureFigure(FeatureFigure ffSrc
, HashMap<String,String> mName , HashMap<String,Figure> mFigure
, DrawingView dvDest) {
FeatureFigure result = new FeatureFigure();
result.setAttribute("id", mName.get(ffSrc.getAttribute("id")));
result.setAttribute(FeatureFigure.IS_A_LINK, ffSrc.getAttribute(FeatureFigure.IS_A_LINK));
result.setAttribute("text", ffSrc.getAttribute("text"));
result.setAttribute(FeatureProperties.VARIABILITY, ffSrc.getAttribute(FeatureProperties.VARIABILITY));
result.setAttribute(FeatureProperties.BINDINGTIME, ffSrc.getAttribute(FeatureProperties.BINDINGTIME));
dvDest.add(result);
result.moveBy(ffSrc.getDisplayBox().x , ffSrc.getDisplayBox().y);
mName.put((String)ffSrc.getAttribute("id") , UIDupHelper.FIGURE_ID_PREFIX + ffSrc.getAttribute("id"));
mFigure.put(UIDupHelper.FIGURE_ID_PREFIX + ffSrc.getAttribute("id") , result);
return result;