org.eclipse.actf.model.ui.editor
Class DummyEditorInput
java.lang.Object
org.eclipse.actf.model.ui.editor.DummyEditorInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput
public class DummyEditorInput
- extends Object
- implements org.eclipse.ui.IEditorInput
Dummy Editor Input for Editors of ACTF IModelService
implementation.
This class is used for open external resources, such as Web site, etc.
- See Also:
IModelService
DummyEditorInput
public DummyEditorInput(String url,
String name)
- Parameters:
url
- target content URLname
- the name of this Editor input
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
getUrl
public String getUrl()
- Get target content URL as String. ACTF
IModelService
implementations will open the URL.
- Returns:
- target content URL as String