Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.ui.selection
Interface JpaViewManager.PageManager

Enclosing interface:
JpaViewManager

public static interface JpaViewManager.PageManager

A view manager's parent page manager.


Method Summary
 void addViewManager(JpaViewManager viewManager)
          Add the specified view manager to the page manager.
 JpaEditorManager getEditorManager(IEditorPart editor)
          Return the JPA editor manager for the specified editor.
 PropertyValueModel<JpaFile> getJpaFileModel()
          Return the manager's JPA file model.
 ModifiablePropertyValueModel<JpaStructureNode> getJpaSelectionModel()
          Return the manager's JPA selection model.
 void removeViewManager(JpaViewManager viewManager)
          Remove the specified view manager from the page manager.
 

Method Detail

addViewManager

void addViewManager(JpaViewManager viewManager)
Add the specified view manager to the page manager. Each view manager must add itself to its page manager upon the construction of its view.


removeViewManager

void removeViewManager(JpaViewManager viewManager)
Remove the specified view manager from the page manager. Each view manager must remove itself from its page manager upon disposal of its view.


getEditorManager

JpaEditorManager getEditorManager(IEditorPart editor)
Return the JPA editor manager for the specified editor. Return null if the specified editor does not have a corresponding manager. This method can be used by a view manager whose view maintains state for each editor (e.g. an "outline"-type view usually maintains a separate tree for each editor page, so the trees' states do not change as different editor pages are brought to the top of the editor page book).

See Also:
getJpaFileModel(), getJpaSelectionModel()

getJpaFileModel

PropertyValueModel<JpaFile> getJpaFileModel()
Return the manager's JPA file model. This can be monitored by the corresponding view managers. This method can used by a view manager whose view maintains state only for the current editor page.

See Also:
getJpaSelectionModel(), getEditorManager(IEditorPart)

getJpaSelectionModel

ModifiablePropertyValueModel<JpaStructureNode> getJpaSelectionModel()
Return the manager's JPA selection model. This can be monitored and changed by the corresponding view managers. This method can used by a view manager whose view maintains state only for the current editor page.

See Also:
getJpaFileModel(), getEditorManager(IEditorPart)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.