/*
- * Copyright (C) 2007-2012 Mathieu Baudier
+ * Copyright (C) 2007-2012 Argeo GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.argeo.slc.client.ui.commands;
import javax.jcr.Node;
// menu.
if (selection != null && selection.size() == 1) {
Object obj = selection.getFirstElement();
-
try {
Node parentNode = null;
-
if (obj instanceof ResultFolder) {
ResultFolder rf = (ResultFolder) obj;
parentNode = rf.getNode();