Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.ui
Interface JpaProjectsModel

All Superinterfaces:
CollectionValueModel<JpaProject>, Iterable<JpaProject>, Model

public interface JpaProjectsModel
extends CollectionValueModel<JpaProject>

Standard adapter for retrieving a model of a workspace's JPA projects with change notification when the model changes:

 IWorkspace workspace = ResourcesPlugin.getWorkspace();
 JpaProjectsModel jpaProjectsModel = (JpaProjectsModel) workspace.getAdapter(JpaProjectsModel.class);
 

See Also:
WorkspaceAdapterFactory

Field Summary
 
Fields inherited from interface org.eclipse.jpt.common.utility.model.value.CollectionValueModel
VALUES
 
Method Summary
 JpaWorkspace getJpaWorkspace()
          Return the JPA workspace corresponding to the JPA projects model.
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.value.CollectionValueModel
iterator, size
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 

Method Detail

getJpaWorkspace

JpaWorkspace getJpaWorkspace()
Return the JPA workspace corresponding to the JPA projects model.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.