uk.ac.kcl.cch.jb.pliny.browser
Class BrowserEditorInput
java.lang.Object
uk.ac.kcl.cch.jb.pliny.browser.BrowserEditorInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IElementFactory, org.eclipse.ui.IPersistable, org.eclipse.ui.IPersistableElement
- public class BrowserEditorInput
- extends Object
- implements org.eclipse.ui.IEditorInput, org.eclipse.ui.IPersistableElement, org.eclipse.ui.IElementFactory
The IEditorInput for the Pliny browser. It is similar to the input
class defined for org.eclipse.ui.internal.browser. It also acts
as the IElementFactory for itself.
- Author:
- John Bradley
BrowserEditorInput
public BrowserEditorInput()
BrowserEditorInput
public BrowserEditorInput(URL myUrl)
BrowserEditorInput
public BrowserEditorInput(String theUrl)
throws MalformedURLException
getUrl
public URL getUrl()
setUrl
public void setUrl(URL newUrl)
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
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
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText
in interface org.eclipse.ui.IEditorInput
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getFactoryId
public String getFactoryId()
- Specified by:
getFactoryId
in interface org.eclipse.ui.IPersistableElement
saveState
public void saveState(org.eclipse.ui.IMemento memento)
- Specified by:
saveState
in interface org.eclipse.ui.IPersistable
createElement
public org.eclipse.core.runtime.IAdaptable createElement(org.eclipse.ui.IMemento memento)
- Specified by:
createElement
in interface org.eclipse.ui.IElementFactory
equals
public boolean equals(Object obj)