org.guvnor.tools.utils
Class StringInput
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.guvnor.tools.utils.StringInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IStorageEditorInput
public class StringInput
- extends org.eclipse.core.runtime.PlatformObject
- implements org.eclipse.ui.IStorageEditorInput
A in-memory editor input.
|
Constructor Summary |
StringInput(org.eclipse.core.resources.IStorage storage)
|
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
StringInput
public StringInput(org.eclipse.core.resources.IStorage storage)
exists
public boolean exists()
- Specified by:
exists in interface org.eclipse.ui.IEditorInput
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor in interface org.eclipse.ui.IEditorInput
getName
public String getName()
- Specified by:
getName in interface org.eclipse.ui.IEditorInput
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()
- Specified by:
getPersistable in interface org.eclipse.ui.IEditorInput
getStorage
public org.eclipse.core.resources.IStorage getStorage()
- Specified by:
getStorage in interface org.eclipse.ui.IStorageEditorInput
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.