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
Editor reference implementation used for testing against editor matching
strategies when we have no actual editor reference on hands.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener) voidaddPropertyListener(org.eclipse.ui.IPropertyListener listener) org.eclipse.ui.IEditorPartgetEditor(boolean restore) org.eclipse.ui.IEditorInputgetId()getName()org.eclipse.ui.IWorkbenchPagegetPage()org.eclipse.ui.IWorkbenchPartgetPart(boolean restore) getPartProperty(String key) getTitle()org.eclipse.swt.graphics.ImagebooleanisDirty()booleanisPinned()voidremovePartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener) voidremovePropertyListener(org.eclipse.ui.IPropertyListener listener)
-
Constructor Details
-
OpenProbeEditorReference
public OpenProbeEditorReference()Instantiates a new open probe editor reference.
-
-
Method Details
-
getPart
public org.eclipse.ui.IWorkbenchPart getPart(boolean restore) - Specified by:
getPartin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getTitle
- Specified by:
getTitlein interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getTitleImage
public org.eclipse.swt.graphics.Image getTitleImage()- Specified by:
getTitleImagein interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getTitleToolTip
- Specified by:
getTitleToolTipin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getId
- Specified by:
getIdin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
addPropertyListener
public void addPropertyListener(org.eclipse.ui.IPropertyListener listener) - Specified by:
addPropertyListenerin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
removePropertyListener
public void removePropertyListener(org.eclipse.ui.IPropertyListener listener) - Specified by:
removePropertyListenerin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getPage
public org.eclipse.ui.IWorkbenchPage getPage()- Specified by:
getPagein interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getPartName
- Specified by:
getPartNamein interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getContentDescription
- Specified by:
getContentDescriptionin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
isDirty
public boolean isDirty()- Specified by:
isDirtyin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getPartProperty
- Specified by:
getPartPropertyin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
addPartPropertyListener
public void addPartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener) - Specified by:
addPartPropertyListenerin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
removePartPropertyListener
public void removePartPropertyListener(org.eclipse.jface.util.IPropertyChangeListener listener) - Specified by:
removePartPropertyListenerin interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getFactoryId
- Specified by:
getFactoryIdin interfaceorg.eclipse.ui.IEditorReference
-
getName
- Specified by:
getNamein interfaceorg.eclipse.ui.IEditorReference
-
getEditor
public org.eclipse.ui.IEditorPart getEditor(boolean restore) - Specified by:
getEditorin interfaceorg.eclipse.ui.IEditorReference
-
isPinned
public boolean isPinned()- Specified by:
isPinnedin interfaceorg.eclipse.ui.IEditorReference
-
getEditorInput
public org.eclipse.ui.IEditorInput getEditorInput() throws org.eclipse.ui.PartInitException- Specified by:
getEditorInputin interfaceorg.eclipse.ui.IEditorReference- Throws:
org.eclipse.ui.PartInitException
-