]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - eclipse/runtime/org.argeo.eclipse.ui.jcr/src/main/java/org/argeo/eclipse/ui/jcr/editors/NodeEditorInput.java
1 package org
.argeo
.eclipse
.ui
.jcr
.editors
;
3 import org
.eclipse
.jface
.resource
.ImageDescriptor
;
4 import org
.eclipse
.ui
.IEditorInput
;
5 import org
.eclipse
.ui
.IPersistableElement
;
7 /** A canonical editor input based on a path to a node. */
8 public class NodeEditorInput
implements IEditorInput
{
9 private final String path
;
11 public NodeEditorInput(String path
) {
15 public Object
getAdapter(@SuppressWarnings("rawtypes") Class adapter
) {
19 public boolean exists() {
23 public ImageDescriptor
getImageDescriptor() {
27 public String
getName() {
31 public IPersistableElement
getPersistable() {
35 public String
getToolTipText() {
39 public String
getPath() {