org.eclipse.viatra.query.tooling.ui.queryexplorer.util

## Class ModelEditorPartListener

- java.lang.Object
- - org.eclipse.viatra.query.tooling.ui.queryexplorer.util.BasePartListener
  - - org.eclipse.viatra.query.tooling.ui.queryexplorer.util.ModelEditorPartListener

- All Implemented Interfaces:
    org.eclipse.ui.IPartListener

      public class ModelEditorPartListener
      extends BasePartListener

  The PartListener is used to observe `IEditorPart` close actions.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ModelEditorPartListener(IModelConnector modelConnector)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `partClosed(org.eclipse.ui.IWorkbenchPart part)`

    - ### Methods inherited from class org.eclipse.viatra.query.tooling.ui.queryexplorer.util.BasePartListener

      `partActivated, partBroughtToTop, partDeactivated, partOpened`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ModelEditorPartListener

          public ModelEditorPartListener(IModelConnector modelConnector)

  - ### Method Detail

    - #### partClosed

          public void partClosed(org.eclipse.ui.IWorkbenchPart part)

      Specified by:
        `partClosed` in interface `org.eclipse.ui.IPartListener`
      Overrides:
        `partClosed` in class `BasePartListener`