Class LinkedWithEditorPartListener
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.linkedView.LinkedWithEditorPartListener
-
- All Implemented Interfaces:
org.eclipse.ui.IPartListener2
public class LinkedWithEditorPartListener extends java.lang.Object implements org.eclipse.ui.IPartListener2
AnIPartListener2
notifying anILinkedWithEditorView
, if the active editor changes.- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description LinkedWithEditorPartListener(ILinkedWithEditorView view)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
partActivated(org.eclipse.ui.IWorkbenchPartReference ref)
void
partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference ref)
void
partClosed(org.eclipse.ui.IWorkbenchPartReference ref)
void
partDeactivated(org.eclipse.ui.IWorkbenchPartReference ref)
void
partHidden(org.eclipse.ui.IWorkbenchPartReference ref)
void
partInputChanged(org.eclipse.ui.IWorkbenchPartReference ref)
void
partOpened(org.eclipse.ui.IWorkbenchPartReference ref)
void
partVisible(org.eclipse.ui.IWorkbenchPartReference ref)
-
-
-
Constructor Detail
-
LinkedWithEditorPartListener
public LinkedWithEditorPartListener(ILinkedWithEditorView view)
Default constructor.- Parameters:
view
- TheILinkedWithEditorView
to be notified, if the active editor changes.
-
-
Method Detail
-
partActivated
public void partActivated(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partActivated
in interfaceorg.eclipse.ui.IPartListener2
-
partBroughtToTop
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partBroughtToTop
in interfaceorg.eclipse.ui.IPartListener2
-
partOpened
public void partOpened(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partOpened
in interfaceorg.eclipse.ui.IPartListener2
-
partVisible
public void partVisible(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partVisible
in interfaceorg.eclipse.ui.IPartListener2
-
partClosed
public void partClosed(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partClosed
in interfaceorg.eclipse.ui.IPartListener2
-
partDeactivated
public void partDeactivated(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partDeactivated
in interfaceorg.eclipse.ui.IPartListener2
-
partHidden
public void partHidden(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partHidden
in interfaceorg.eclipse.ui.IPartListener2
-
partInputChanged
public void partInputChanged(org.eclipse.ui.IWorkbenchPartReference ref)
- Specified by:
partInputChanged
in interfaceorg.eclipse.ui.IPartListener2
-
-