|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.contribution.visualiser.simpleImpl.SimpleGroup
Simple implementation of a group, see IGroup/IMember for more information.
| Field Summary | |
protected java.util.List |
kids
|
protected java.lang.String |
name
|
protected java.lang.String |
tooltip
|
| Constructor Summary | |
SimpleGroup(java.lang.String n)
The constructor - takes the group's name as an argument |
|
| Method Summary | |
void |
add(IMember m)
Add a member to this group |
IGroup |
getContainingGroup()
Get the containing group. |
java.lang.String |
getFullname()
Get the full name for the group. |
java.util.List |
getMembers()
Get all the members contained in this group |
java.lang.String |
getName()
Get the name of this group |
java.lang.Integer |
getSize()
Get the size for this group. |
java.lang.String |
getToolTip()
Get this group's tooltip |
void |
setContainingGroup(IGroup grp)
Set the containing group. |
void |
setName(java.lang.String string)
Set the name of this group |
void |
setSize(int size)
Set the size for this group. |
void |
setTooltip(java.lang.String string)
Set the tooltip for this group |
java.lang.String |
toString()
Get the String representation of this group. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected java.lang.String tooltip
protected java.util.List kids
| Constructor Detail |
public SimpleGroup(java.lang.String n)
n - - name| Method Detail |
public java.lang.String getFullname()
getFullname in interface IMemberpublic void add(IMember m)
add in interface IGrouppublic java.util.List getMembers()
getMembers in interface IGrouppublic void setName(java.lang.String string)
setName in interface IMemberpublic java.lang.String getName()
getName in interface IMemberpublic void setTooltip(java.lang.String string)
setTooltip in interface IMemberstring - - the tooltippublic java.lang.String getToolTip()
getToolTip in interface IMemberpublic void setSize(int size)
setSize in interface IMembersize - - the sizepublic java.lang.Integer getSize()
getSize in interface IMemberpublic IGroup getContainingGroup()
getContainingGroup in interface IMemberpublic void setContainingGroup(IGroup grp)
setContainingGroup in interface IMembergrp - public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||