Package com._1c.g5.v8.dt.ui.util
Class OpenProbeEditorReference
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.util.OpenProbeEditorReference
-
- All Implemented Interfaces:
org.eclipse.ui.IEditorReference
,org.eclipse.ui.IWorkbenchPartReference
public class OpenProbeEditorReference extends Object implements org.eclipse.ui.IEditorReference
Editor reference implementation used for testing against editor matching strategies when we have no actual editor reference on hands.
-
-
Constructor Summary
Constructors Constructor Description OpenProbeEditorReference()
Instantiates a new open probe editor reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener)
void
addPropertyListener(org.eclipse.ui.IPropertyListener listener)
String
getContentDescription()
org.eclipse.ui.IEditorPart
getEditor(boolean restore)
org.eclipse.ui.IEditorInput
getEditorInput()
String
getFactoryId()
String
getId()
String
getName()
org.eclipse.ui.IWorkbenchPage
getPage()
org.eclipse.ui.IWorkbenchPart
getPart(boolean restore)
String
getPartName()
String
getPartProperty(String key)
String
getTitle()
org.eclipse.swt.graphics.Image
getTitleImage()
String
getTitleToolTip()
boolean
isDirty()
boolean
isPinned()
void
removePartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener)
void
removePropertyListener(org.eclipse.ui.IPropertyListener listener)
-
-
-
Method Detail
-
getPart
public org.eclipse.ui.IWorkbenchPart getPart(boolean restore)
- Specified by:
getPart
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getTitleImage
public org.eclipse.swt.graphics.Image getTitleImage()
- Specified by:
getTitleImage
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getTitleToolTip
public String getTitleToolTip()
- Specified by:
getTitleToolTip
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
addPropertyListener
public void addPropertyListener(org.eclipse.ui.IPropertyListener listener)
- Specified by:
addPropertyListener
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
removePropertyListener
public void removePropertyListener(org.eclipse.ui.IPropertyListener listener)
- Specified by:
removePropertyListener
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getPage
public org.eclipse.ui.IWorkbenchPage getPage()
- Specified by:
getPage
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getPartName
public String getPartName()
- Specified by:
getPartName
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getContentDescription
public String getContentDescription()
- Specified by:
getContentDescription
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
isDirty
public boolean isDirty()
- Specified by:
isDirty
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getPartProperty
public String getPartProperty(String key)
- Specified by:
getPartProperty
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
addPartPropertyListener
public void addPartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener)
- Specified by:
addPartPropertyListener
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
removePartPropertyListener
public void removePartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener)
- Specified by:
removePartPropertyListener
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getFactoryId
public String getFactoryId()
- Specified by:
getFactoryId
in interfaceorg.eclipse.ui.IEditorReference
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.ui.IEditorReference
-
getEditor
public org.eclipse.ui.IEditorPart getEditor(boolean restore)
- Specified by:
getEditor
in interfaceorg.eclipse.ui.IEditorReference
-
isPinned
public boolean isPinned()
- Specified by:
isPinned
in interfaceorg.eclipse.ui.IEditorReference
-
getEditorInput
public org.eclipse.ui.IEditorInput getEditorInput() throws org.eclipse.ui.PartInitException
- Specified by:
getEditorInput
in interfaceorg.eclipse.ui.IEditorReference
- Throws:
org.eclipse.ui.PartInitException
-
-