Class PluginProgrammingElement
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.model.element.Element
-
- com.hello2morrow.sonargraph.core.model.element.ElementWithIssues
-
- com.hello2morrow.sonargraph.core.model.element.NamedElement
-
- com.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
- com.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren
-
- com.hello2morrow.sonargraph.core.api.model.PluginProgrammingElement
-
- All Implemented Interfaces:
com.hello2morrow.foundation.persistence.IPersistable
,IPluginElement
,com.hello2morrow.sonargraph.core.model.element.ICloneableParent
,com.hello2morrow.sonargraph.core.model.element.IElement
,com.hello2morrow.sonargraph.core.model.element.IPhysicalElement
,com.hello2morrow.sonargraph.core.model.path.ISourceElementCountProvider
,com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotDependency.IDependencyEndpoint
,com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotReader.IRetrievable
,com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotWriter.IStorable
,java.lang.Cloneable
- Direct Known Subclasses:
PluginProgrammingElementComponent
public class PluginProgrammingElement extends com.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren implements IPluginElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PluginProgrammingElement.IVisitor
-
Nested classes/interfaces inherited from class com.hello2morrow.sonargraph.core.model.element.NamedElement
com.hello2morrow.sonargraph.core.model.element.NamedElement.IFilter, com.hello2morrow.sonargraph.core.model.element.NamedElement.INamedElementVisitor
-
-
Constructor Summary
Constructors Constructor Description PluginProgrammingElement(com.hello2morrow.sonargraph.core.model.element.IModelServiceProvider msp, com.hello2morrow.sonargraph.core.model.element.NamedElement parent, java.lang.String name, int lineNumber, IMetaClass metaClass, com.hello2morrow.sonargraph.core.model.element.IStructureItem structureItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(com.hello2morrow.sonargraph.core.model.element.NamedElement.INamedElementVisitor visitor)
java.lang.String
getDescription()
java.lang.String
getElementName()
java.lang.String
getImageResourceName()
IMetaClass
getMetaClass()
java.lang.String
getName()
java.lang.String
getPluginElementType()
java.lang.String
getPluginId()
java.lang.String
getPluginInfo()
java.lang.String
getPresentationName(boolean shortName)
Any
getProperty(java.lang.String property)
<T> T
getProperty(java.lang.String property, java.lang.Class<T> cls)
java.lang.String
getShortName()
com.hello2morrow.sonargraph.core.model.element.IStructureItem
getStructureItem()
boolean
isMember()
boolean
persist(com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotProcessor.Mode mode)
void
removeProperty(java.lang.String property)
void
setProperty(java.lang.String property, Any value)
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren
remove
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
addDependency, addDependencyIfNotPresent, canBelongToNamespace, dispose, equals, finishModification, getAnnotations, getChildren, getCurrentModel, getDebugInfo, getDefinitions, getDependencies, getDependencyIterator, getDomain, getFirstDependencyByDependencyType, getIncomingDependencies, getIncomingDependenciesRecursively, getIncomingDependencyIterator, getIncomingDependencyIterator, getIncomingDependencyIterator, getIndexOfOutgoingDependency, getIssueManager, getLineNumber, getLogicalGroupInternal, getModelServiceProvider, getNamedElement, getOriginal, getOutgoingDependencies, getOutgoingDependenciesRecursively, getOutgoingDependencyAt, getOutgoingDependencyIterator, getOutgoingDependencyIterator, getOutgoingDependencyTargetAt, getParent, getParts, getPropertiesManager, getRawPresentationName, getRepresentative, hasDependencies, hashCode, hasIncomingDependencies, hasMultipleDefinitions, hasOutgoingDependencies, ignoreInModelRepresentation, isExternal, mergeDependenciesFrom, parentRemoved, readDependencyList, removeDependencies, removeDependency, removeOutgoingDependencies, retrieve, setLineNumber, setModelServiceProvider, setShortName, store, toString, transferDependenciesFrom, transferIncomingDependenciesTo, unlinkDependency, writeDependencyList
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.element.NamedElement
addChild, changeParent, clone, forgetChildren, fullyQualifiedName, getAllChildren, getAllChildren, getAllChildrenExceptGhosts, getAllChildrenExceptGhosts, getChildren, getChildren, getChildren, getChildrenList, getChildrenRecursively, getChildrenRecursively, getElement, getFirstChild, getFirstChild, getFirstChildRecursively, getFirstParent, getFullyQualifiedName, getFullyQualifiedNamePart, getIndexOf, getLanguage, getNumberOfChildren, getOriginalChildren, getOriginalChildrenRecursively, getOriginalFullyQualifiedName, getOriginalParent, getParent, getParent, getParents, getPersistableChildren, getRefactoringState, getUniqueChild, getUniqueChild, getUniqueExistingChild, hasAllChildren, hasAllChildrenRecursively, hasAsParent, hasBeenDirectlyRefactored, hasChildren, hasChildren, hasChildren, hasChildrenExcept, hasChildrenRecursively, hasPersistableChildren, ignoreInModelSearch, ignoreIssues, isCompilerGenerated, isDefinedInEnclosingElement, isExcluded, isOfStructureItem, isValid, moveChild, originalFullyQualifiedName, performRemoveChild, persistChildren, removeChild, removeChildren, removeOnLastChildRemoval, resolveByFullyQualifiedNamePart, resolveOriginalByFullyQualifiedNamePart, setParent
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.element.ElementWithIssues
addIssue, getIssues, getIssues, hasIssues, hasIssues, hasIssues, hasUnresolvedErrorIssues, hasUnresolvedWarningIssues, removeIssue, removeIssues, removeIssues
-
Methods inherited from class com.hello2morrow.sonargraph.core.model.element.Element
escapeSpecialCharacters, getImageResourceDecoratorInfo, getInformation, getOriginalName, getOriginalPresentationName, getOriginalShortName, getPresentationKind, getProperties, getRefactoringInfo, getStandardPresentationKind, hasProperty, isGhost, isProxy, readAttributes, splitDescriptor, unescapeSpecialCharacters, writeAttributes
-
-
-
-
Constructor Detail
-
PluginProgrammingElement
public PluginProgrammingElement(com.hello2morrow.sonargraph.core.model.element.IModelServiceProvider msp, com.hello2morrow.sonargraph.core.model.element.NamedElement parent, java.lang.String name, int lineNumber, IMetaClass metaClass, com.hello2morrow.sonargraph.core.model.element.IStructureItem structureItem)
-
-
Method Detail
-
persist
public final boolean persist(com.hello2morrow.sonargraph.core.model.snapshot.ISnapshotProcessor.Mode mode)
- Specified by:
persist
in interfacecom.hello2morrow.sonargraph.core.model.snapshot.ISnapshotWriter.IStorable
- Overrides:
persist
in classcom.hello2morrow.sonargraph.core.model.element.Element
-
getStructureItem
public final com.hello2morrow.sonargraph.core.model.element.IStructureItem getStructureItem()
- Specified by:
getStructureItem
in classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getMetaClass
public final IMetaClass getMetaClass()
-
isMember
public final boolean isMember()
- Specified by:
isMember
in classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getElementName
public final java.lang.String getElementName()
- Specified by:
getElementName
in interfaceIPluginElement
-
getName
public final java.lang.String getName()
- Overrides:
getName
in classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getShortName
public final java.lang.String getShortName()
- Overrides:
getShortName
in classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElement
-
getPresentationName
public final java.lang.String getPresentationName(boolean shortName)
- Overrides:
getPresentationName
in classcom.hello2morrow.sonargraph.core.model.element.Element
-
getDescription
public final java.lang.String getDescription()
- Overrides:
getDescription
in classcom.hello2morrow.sonargraph.core.model.element.Element
-
getImageResourceName
public final java.lang.String getImageResourceName()
- Overrides:
getImageResourceName
in classcom.hello2morrow.sonargraph.core.model.element.Element
-
getProperty
public final <T> T getProperty(java.lang.String property, java.lang.Class<T> cls)
- Overrides:
getProperty
in classcom.hello2morrow.sonargraph.core.model.element.Element
-
getProperty
public final Any getProperty(java.lang.String property)
- Specified by:
getProperty
in interfaceIPluginElement
-
setProperty
public final void setProperty(java.lang.String property, Any value)
-
removeProperty
public final void removeProperty(java.lang.String property)
-
getPluginId
public final java.lang.String getPluginId()
-
getPluginElementType
public final java.lang.String getPluginElementType()
-
getPluginInfo
public final java.lang.String getPluginInfo()
-
accept
public void accept(com.hello2morrow.sonargraph.core.model.element.NamedElement.INamedElementVisitor visitor)
- Overrides:
accept
in classcom.hello2morrow.sonargraph.core.model.programming.ProgrammingElementWithChildren
-
-