EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.ui.internal.editor
Class PatternEditorContentOutlinePage.PatternParameterNode

java.lang.Object
  extended by org.eclipse.egf.common.ui.viewers.DefaultTreeNode
      extended by org.eclipse.egf.pattern.ui.internal.editor.PatternEditorContentOutlinePage.PatternParameterNode
All Implemented Interfaces:
ITreeNode, IParameterHandler
Enclosing class:
PatternEditorContentOutlinePage

protected class PatternEditorContentOutlinePage.PatternParameterNode
extends DefaultTreeNode
implements IParameterHandler

Pattern parameter node.


Constructor Summary
protected PatternEditorContentOutlinePage.PatternParameterNode(ParameterRelation parameter_p, ITreeNode parent_p)
          Constructor.
 
Method Summary
 int comparisonPriority()
          An integer value that represents the priority of this kind of node.
protected  String getDefiningPatternName()
          Get name of the pattern that defines the parameter.
 ParameterRelation getParameter()
          Get parameter.
 boolean hasChildren()
          Has current node any children ?
 boolean isHandling(Object element_p)
          Is node handling/representing given element ?
 boolean isInherited()
          Is parameter inherited or not ?
 String toString()
           
 
Methods inherited from class org.eclipse.egf.common.ui.viewers.DefaultTreeNode
getChildren, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatternEditorContentOutlinePage.PatternParameterNode

protected PatternEditorContentOutlinePage.PatternParameterNode(ParameterRelation parameter_p,
                                                               ITreeNode parent_p)
Constructor.

Parameters:
parameter_p -
parent_p -
Method Detail

getParameter

public ParameterRelation getParameter()
Description copied from interface: IParameterHandler
Get parameter.

Specified by:
getParameter in interface IParameterHandler
Returns:
See Also:
IParameterHandler.getParameter()

isHandling

public boolean isHandling(Object element_p)
Description copied from interface: ITreeNode
Is node handling/representing given element ?

Specified by:
isHandling in interface ITreeNode
Overrides:
isHandling in class DefaultTreeNode
Returns:
See Also:
DefaultTreeNode.isHandling(java.lang.Object)

isInherited

public boolean isInherited()
Description copied from interface: IParameterHandler
Is parameter inherited or not ?

Specified by:
isInherited in interface IParameterHandler
Returns:
See Also:
IParameterHandler.isInherited()

getDefiningPatternName

protected String getDefiningPatternName()
Get name of the pattern that defines the parameter.

Returns:

hasChildren

public boolean hasChildren()
Description copied from interface: ITreeNode
Has current node any children ?

Specified by:
hasChildren in interface ITreeNode
Overrides:
hasChildren in class DefaultTreeNode
Returns:
true if so, false otherwise.
See Also:
DefaultTreeNode.hasChildren()

comparisonPriority

public int comparisonPriority()
Description copied from interface: ITreeNode
An integer value that represents the priority of this kind of node.
Should always be the same for objects of the same implementation of ITreeNode.

Specified by:
comparisonPriority in interface ITreeNode
Overrides:
comparisonPriority in class DefaultTreeNode
Returns:
0 stands for neutral priority.
See Also:
DefaultTreeNode.comparisonPriority()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.