|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JpaStructureNode
Interface implemented by any object to appear in the JPA Structure view and JPA Details view. This interface is also used by the JPA Selection Managers.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static class |
JpaStructureNode.ContextType
Type used to identify a JPA structure node's type with respect to the structure node's context (i.e. its type in the scope of the JPA platform that created the structure node and the structure node's resource). |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
STRUCTURE_CHILDREN_COLLECTION
String constant associated with changes to the structure node's children. |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
void |
addRootStructureNodesTo(JpaFile jpaFile,
Collection<JpaStructureNode> rootStructureNodes)
Add the to the specified collection the specified JPA file's root structure nodes (i.e. the nodes that will be the root elements in the JPA Structure view when the JPA file is displayed by the active editor). |
boolean |
containsOffset(int textOffset)
Return whether the structure node's full text representation contains the specified text offset. |
JpaStructureNode.ContextType |
getContextType()
Return the structure node's context type. |
TextRange |
getFullTextRange()
Return the text range for the structure node's full text representation. |
TextRange |
getSelectionTextRange()
Return the text range to be used to select text in the editor corresponding to the structure node. |
Iterable<? extends JpaStructureNode> |
getStructureChildren()
Return the node's children, as to be displayed in the JPA Structure view. |
int |
getStructureChildrenSize()
Return the number of the node's children. |
JpaStructureNode |
getStructureNode(int textOffset)
Return the structure node at the specified offset in the structure node's corresponding text file. |
Class<? extends JpaStructureNode> |
getStructureType()
Return the structure node's type. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Field Detail |
|---|
static final String STRUCTURE_CHILDREN_COLLECTION
| Method Detail |
|---|
TextRange getFullTextRange()
getSelectionTextRange()boolean containsOffset(int textOffset)
getFullTextRange()JpaStructureNode getStructureNode(int textOffset)
TextRange getSelectionTextRange()
getFullTextRange()JpaStructureNode.ContextType getContextType()
JpaModel.getJpaPlatform(),
JptResourceTypeReference.getResourceType(),
getStructureType()Class<? extends JpaStructureNode> getStructureType()
void addRootStructureNodesTo(JpaFile jpaFile,
Collection<JpaStructureNode> rootStructureNodes)
JpaFile.getRootStructureNodes()Iterable<? extends JpaStructureNode> getStructureChildren()
int getStructureChildrenSize()
getStructureChildren()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||