OME
Interface ViewLink
- public interface ViewLink
- extends OMELink, ViewObject
This interface describes the methods that need to be implemented, when
a link is to be represented in a view.
Methods inherited from interface OME.ViewObject |
getIcon,
getLocation,
getModelObject,
isHidden,
isHighlighted,
isIconified,
isSelected,
setHidden,
setHighlighted,
setIconified,
setSelected |
setFrom
public void setFrom(OMEObject o)
throws java.lang.Exception
- Set the source for this link. Parameter should be a ViewObject from
the same view.
- Specified by:
- setFrom in interface OMELink
- Parameters:
o
- the source we are setting for this OMELink
.
setTo
public void setTo(OMEObject o)
throws java.lang.Exception
- Set the destination for this link. Parameter should be a ViewObject
from the same view.
- Specified by:
- setTo in interface OMELink
- Parameters:
o
- the destination we are setting for this OMELink
.