org.eclipse.actf.model.ui.editor
Class DummyEditorInput

java.lang.Object
  extended by 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

Constructor Summary
DummyEditorInput(String url, String name)
           
 
Method Summary
 boolean exists()
           
 Object getAdapter(Class adapter)
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
           
 String getName()
           
 org.eclipse.ui.IPersistableElement getPersistable()
           
 String getToolTipText()
           
 String getUrl()
          Get target content URL as String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyEditorInput

public DummyEditorInput(String url,
                        String name)
Parameters:
url - target content URL
name - the name of this Editor input
Method Detail

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