org.radrails.rails.internal.ui.terminal
Class TerminalSessionInput
java.lang.Object
org.radrails.rails.internal.ui.terminal.TerminalSessionInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput
- public class TerminalSessionInput
- extends java.lang.Object
- implements org.eclipse.ui.IEditorInput
Editor input for the Terminal window. Contains the root of the currently
selected project and an optional command to run.
- Author:
- mkent
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerminalSessionInput
public TerminalSessionInput(java.io.File projectRoot,
java.lang.String command)
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 java.lang.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
getToolTipText
public java.lang.String getToolTipText()
- Specified by:
getToolTipText
in interface org.eclipse.ui.IEditorInput
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getProjectRoot
public java.io.File getProjectRoot()
getCommand
public java.lang.String getCommand()