PTP
Release 5.0

org.eclipse.ptp.ui.views
Class ProcessEditorInput

java.lang.Object
  extended by org.eclipse.ptp.ui.views.ProcessEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput

public class ProcessEditorInput
extends Object
implements org.eclipse.ui.IEditorInput


Constructor Summary
ProcessEditorInput(org.eclipse.ptp.internal.ui.model.PProcessUI process)
          Constructor
 
Method Summary
 boolean equals(Object obj)
           
 boolean exists()
          From the implementing class IEditorInput.
 Object getAdapter(Class adapter)
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
           
 String getName()
           
 org.eclipse.ui.IPersistableElement getPersistable()
           
 org.eclipse.ptp.internal.ui.model.PProcessUI getProcess()
          Get process
 String getToolTipText()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessEditorInput

public ProcessEditorInput(org.eclipse.ptp.internal.ui.model.PProcessUI process)
Constructor

Parameters:
process -
Since:
4.0
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

exists

public boolean exists()
From the implementing class IEditorInput. This method only has to do with whether "an editor input should appear in the "File Most Recently Used" menu. In our case, just return true.

Specified by:
exists in interface org.eclipse.ui.IEditorInput
See Also:
IEditorInput

getProcess

public org.eclipse.ptp.internal.ui.model.PProcessUI getProcess()
Get process

Returns:
Since:
4.0

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

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.