import javax.jcr.Value;
import org.argeo.ArgeoException;
+import org.argeo.cms.CmsException;
import org.argeo.cms.CmsTypes;
import org.argeo.cms.CmsUiProvider;
import org.argeo.cms.text.Img;
throws RepositoryException {
if (context == null)
// return null;
- throw new CmsException("Context cannot be null");
+ throw new CmsException("Context cannot be null");
GridLayout layout = CmsUtils.noSpaceGridLayout();
layout.numColumns = 2;
parent.setLayout(layout);
currParPath = JcrUtils.parentPath(currNodePath);
if ("".equals(currParPath))
currParPath = "/";
+
+
+
Object[][] colMatrix = new Object[browserCols.size()][2];
((FilterEntitiesVirtualTable) colMatrix[l][1]).dispose();
}
+ // Remove disposed columns
+ // TODO investigate and fix the mechanism that leave them there after
+ // disposal
+ if (browserCols.containsKey(currNodePath)) {
+ FilterEntitiesVirtualTable currCol = browserCols.get(currNodePath);
+ if (currCol.isDisposed())
+ browserCols.remove(currNodePath);
+ }
+
if (!browserCols.containsKey(currNodePath))
createBrowserColumn(colViewer, node);
private Point imageWidth = new Point(250, 0);
+ /**
+ * Recreates the content of the box that displays information about the
+ * current selected node.
+ */
private Control createNodeView(Composite parent, Node context)
throws RepositoryException {