private final static String BROWSE_PREFIX = "browse#";
private final static int THUMBNAIL_WIDTH = 400;
private final static int COLUMN_WIDTH = 160;
+ private DateFormat timeFormatter = new SimpleDateFormat(
+ "dd-MM-yyyy', 'HH:mm");
// keep a cache of the opened nodes
// Key is the path
public Control createUi(Composite parent, Node context)
throws RepositoryException {
if (context == null)
+ // return null;
throw new CmsException("Context cannot be null");
GridLayout layout = CmsUtils.noSpaceGridLayout();
layout.numColumns = 2;
boolean leaveOpened = path.startsWith(currNodePath);
// workaround for same name siblings
- // fix me weird side effect when we go left or click on anb already selected, unfocused node
+ // fix me weird side effect when we go left or click on anb
+ // already selected, unfocused node
if (leaveOpened
&& (path.lastIndexOf("/") == 0
&& currNodePath.lastIndexOf("/") == 0 || JcrUtils
private String getPropAsString(Property property)
throws RepositoryException {
String result = "";
- DateFormat timeFormatter = new SimpleDateFormat("");
if (property.isMultiple()) {
result = getMultiAsString(property, ", ");
} else {
} else if (e.keyCode == SWT.ARROW_LEFT) {
try {
selected = getNode().getParent();
- String newPath = selected.getPath(); //getNode().getParent()
+ String newPath = selected.getPath(); // getNode().getParent()
setEdited(selected);
if (browserCols.containsKey(newPath))
browserCols.get(newPath).setFocus();