|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.ltk.internal.ui.refactoring.PreviewNode
org.eclipse.ltk.ui.refactoring.TextEditChangeNode.ChildNode
org.eclipse.ltk.internal.ui.refactoring.InternalLanguageElementNode
org.eclipse.ltk.ui.refactoring.LanguageElementNode
A special child node of a TextEditChangeNode to represent
language elements which don't have an associated TextEditChangeGroup
. Instances of this class typically represent language members
like types, methods, fields, etc. in the change preview tree.
Clients may extend this class.
| Constructor Summary | |
|---|---|
protected |
LanguageElementNode(TextEditChangeNode.ChildNode parent)
Creates a new LanguageElementNode using the
given ChildNode as a parent. |
protected |
LanguageElementNode(TextEditChangeNode parent)
Creates a new LanguageElementNode using the
given TextEditChangeGroup as a parent. |
| Method Summary | |
|---|---|
void |
addChild(TextEditChangeNode.ChildNode child)
Adds the given ChildNode |
abstract IRegion |
getTextRange()
Returns the text region the of this language element node. |
protected void |
internalAddChild(TextEditChangeNode.ChildNode child)
This is an internal method which should not be called by subclasses. |
| Methods inherited from class org.eclipse.ltk.ui.refactoring.TextEditChangeNode.ChildNode |
|---|
getTextEditChangeNode |
| Methods inherited from class org.eclipse.ltk.internal.ui.refactoring.PreviewNode |
|---|
getImageDescriptor, getText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LanguageElementNode(TextEditChangeNode parent)
LanguageElementNode using the
given TextEditChangeGroup as a parent.
parent - the parent of this nodeprotected LanguageElementNode(TextEditChangeNode.ChildNode parent)
LanguageElementNode using the
given ChildNode as a parent.
parent - the parent of this node| Method Detail |
public void addChild(TextEditChangeNode.ChildNode child)
ChildNode to this LanguageElementNode
- Parameters:
child - the child to add
public abstract IRegion getTextRange()
throws CoreException
CoreException - if the source region can't be obtainedprotected void internalAddChild(TextEditChangeNode.ChildNode child)
child - the child node to add
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.