Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.ui
Interface JpaContextModelRootModel

All Superinterfaces:
Model, PropertyValueModel<JpaContextModelRoot>

public interface JpaContextModelRootModel
extends PropertyValueModel<JpaContextModelRoot>

Standard adapter for retrieving a JPA root context node model with change notification when the JPA root context node is created or destroyed:

 IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("Foo Project");
 JpaRootContextNodeModel jpaRootContextNodeModel = (JpaJpaRootContextNodeModel) project.getAdapter(JpaJpaRootContextNodeModel.class);
 JpaRootContextNode jpaRootContextNode = jpaRootContextNodeModel.getValue();
 

See Also:
ProjectAdapterFactory

Field Summary
 
Fields inherited from interface org.eclipse.jpt.common.utility.model.value.PropertyValueModel
VALUE
 
Method Summary
 IProject getProject()
          Return the project corresponding to the JPA root context model.
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.value.PropertyValueModel
getValue
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 

Method Detail

getProject

IProject getProject()
Return the project corresponding to the JPA root context model.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.