/** Associates <code>con</code> with the creation string <code>s</code>. The <code>con</code> object should * probably have an equals method that compares identities or <code>con</code> objects that .equals() will only * be able to have <b>one</b> creation string. * <p> * If {@link LayoutUtil#isDesignTime(ContainerWrapper)} returns <code>false</code> the method does nothing. * @param con The object. if <code>null</code> the method does nothing. * @param s The creation string. if <code>null</code> the method does nothing. */ static void putCCString(Object con, String s) { if (s != null && con != null && isDesignTime(null)) { if (CR_MAP == null) CR_MAP = new WeakHashMap<Object, String>(64); CR_MAP.put(con, s); } }
if (LayoutUtil.isDesignTime(container)) { TreeSet<Integer> indexes = isRows ? rowIndexes : colIndexes; int[] ixArr = new int[indexes.size()];
rowColSize = LayoutUtil.isDesignTime(container) ? LayoutUtil.getDesignTimeEmptySize() : 0; // Empty rows with no size set gets XX pixels if design time
pushYs = hasPushY || lc.isFillY() ? getDefaultPushWeights(true) : null; if (LayoutUtil.isDesignTime(container)) saveGrid(container, grid);