public static class OpenPomAction.MavenStorageEditorInput
extends java.lang.Object
implements org.eclipse.ui.IStorageEditorInput
Modifier and Type | Field and Description |
---|---|
private byte[] |
content |
private java.lang.String |
name |
private java.lang.String |
path |
private java.lang.String |
tooltip |
Constructor and Description |
---|
MavenStorageEditorInput(java.lang.String name,
java.lang.String tooltip,
java.lang.String path,
byte[] content) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
<T> T |
getAdapter(java.lang.Class<T> adapter) |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor() |
java.lang.String |
getName() |
org.eclipse.core.runtime.IPath |
getPath() |
org.eclipse.ui.IPersistableElement |
getPersistable() |
org.eclipse.core.resources.IStorage |
getStorage() |
java.lang.String |
getToolTipText() |
private final java.lang.String name
private final java.lang.String path
private final java.lang.String tooltip
private final byte[] content
public MavenStorageEditorInput(java.lang.String name, java.lang.String tooltip, java.lang.String path, byte[] content)
public boolean exists()
exists
in interface org.eclipse.ui.IEditorInput
public java.lang.String getName()
getName
in interface org.eclipse.ui.IEditorInput
public java.lang.String getToolTipText()
getToolTipText
in interface org.eclipse.ui.IEditorInput
public org.eclipse.core.resources.IStorage getStorage()
getStorage
in interface org.eclipse.ui.IStorageEditorInput
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface org.eclipse.ui.IEditorInput
public org.eclipse.ui.IPersistableElement getPersistable()
getPersistable
in interface org.eclipse.ui.IEditorInput
public <T> T getAdapter(java.lang.Class<T> adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
public org.eclipse.core.runtime.IPath getPath()