org.eclipse.jpt.jpa.ui
Interface JpaRootContextNodeModel
- All Superinterfaces:
- Model, PropertyValueModel<JpaRootContextNode>
public interface JpaRootContextNodeModel
- extends PropertyValueModel<JpaRootContextNode>
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
|
Method Summary |
IProject |
getProject()
Return the project corresponding to the JPA root context model. |
getProject
IProject getProject()
- Return the project corresponding to the JPA root context model.
Copyright (c) 2012 Oracle. All rights reserved.