org.radrails.rails.internal.ui.browser
Class BrowserInput
java.lang.Object
org.radrails.rails.internal.ui.browser.BrowserInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput
- public class BrowserInput
- extends java.lang.Object
- implements org.eclipse.ui.IEditorInput
The input for BrowserEditor
.
- Author:
- Kyle
Constructor Summary |
BrowserInput(java.lang.String url)
Constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowserInput
public BrowserInput(java.lang.String url)
- Constructor.
- Parameters:
url
- the URL for the browser to show
exists
public boolean exists()
- Specified by:
exists
in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.exists()
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor
in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getImageDescriptor()
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getName()
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()
- Specified by:
getPersistable
in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getPersistable()
getToolTipText
public java.lang.String getToolTipText()
- Specified by:
getToolTipText
in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getToolTipText()
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
- See Also:
IAdaptable.getAdapter(java.lang.Class)
getURL
public java.lang.String getURL()
- Returns:
- the current URL of the browser