import javax.jcr.Value;
import javax.jcr.nodetype.NodeType;
-import org.argeo.ArgeoException;
+import org.argeo.slc.SlcException;
import org.argeo.slc.client.ui.dist.DistImages;
import org.argeo.slc.client.ui.dist.utils.DistUiHelpers;
import org.argeo.slc.jcr.SlcNames;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.widgets.ScrolledForm;
-/**
- * Lists all properties of current bundle as a tree
- */
-
+/** List all properties of current bundle as a tree */
public class BundleRawPage extends FormPage implements SlcNames, SlcTypes {
// private final static Log log =
// LogFactory.getLog(ArtifactDetailsPage.class);
// providers
private class TreeLabelProvider extends ColumnLabelProvider implements
SlcTypes, SlcNames {
+ private static final long serialVersionUID = -6385445983392621937L;
public void update(ViewerCell cell) {
try {
}
}
} catch (RepositoryException e) {
- throw new ArgeoException(
+ throw new SlcException(
"unexpected error while getting artifact information",
e);
}
}
private class TreeContentProvider implements ITreeContentProvider {
+ private static final long serialVersionUID = -4315686158836938052L;
+
public Object[] getElements(Object parent) {
List<Object> elements = new ArrayList<Object>();
}
} catch (RepositoryException e) {
- throw new ArgeoException(
+ throw new SlcException(
"Unexpected exception while listing node properties", e);
}
return elements.toArray();
return elements.toArray();
}
} catch (RepositoryException e) {
- throw new ArgeoException(
+ throw new SlcException(
"Unexpected error getting multiple values property.", e);
}
return result;
return true;
}
} catch (RepositoryException e) {
- throw new ArgeoException(
+ throw new SlcException(
"Unexpected exception while checking if property is multiple",
e);
}