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 TypeMethodDescriptionvoid
addPartPropertyListener
(org.eclipse.jface.util.IPropertyChangeListener listener) void
addPropertyListener
(org.eclipse.ui.IPropertyListener listener) org.eclipse.ui.IEditorPart
getEditor
(boolean restore) org.eclipse.ui.IEditorInput
getId()
getName()
org.eclipse.ui.IWorkbenchPage
getPage()
org.eclipse.ui.IWorkbenchPart
getPart
(boolean restore) getPartProperty
(String key) getTitle()
org.eclipse.swt.graphics.Image
boolean
isDirty()
boolean
isPinned()
void
removePartPropertyListener
(org.eclipse.jface.util.IPropertyChangeListener listener) void
removePropertyListener
(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:
getPart
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
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
- Specified by:
getTitleToolTip
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
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
- Specified by:
getPartName
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getContentDescription
- Specified by:
getContentDescription
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
isDirty
public boolean isDirty()- Specified by:
isDirty
in interfaceorg.eclipse.ui.IWorkbenchPartReference
-
getPartProperty
- 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
- Specified by:
getFactoryId
in interfaceorg.eclipse.ui.IEditorReference
-
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
-