]>
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
;
8 * A canonical editor input based on a path to a node. In a multirepository
9 * environment, path can be enriched with Repository Alias and workspace
12 public class NodeEditorInput
implements IEditorInput
{
13 private final String path
;
15 public NodeEditorInput(String path
) {
19 public Object
getAdapter(@SuppressWarnings("rawtypes") Class adapter
) {
23 public boolean exists() {
27 public ImageDescriptor
getImageDescriptor() {
31 public String
getName() {
35 public IPersistableElement
getPersistable() {
39 public String
getToolTipText() {
43 public String
getPath() {