|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.alveole.studio.web.data.LinksManager
public class LinksManager
This class is a default toolkit for managing links. This manager loads all plugins and is the main entry point for all plugins "LinkManager".
| Constructor Summary | |
|---|---|
LinksManager()
|
|
| Method Summary | |
|---|---|
boolean |
canLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
Check if a manager exists that can link these two nodes. |
NodeLink |
copyLink(ProjectContext context,
NodeLink original,
NodeContainer node1,
NodeContainer node2)
Perform a copy of a link. |
void |
createLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
Create a link. |
void |
deleteLink(ProjectContext context,
NodeLink link)
Delete a link. |
void |
editLink(ProjectContext context,
NodeLink link,
boolean shortView)
Edit a link. |
void |
serialize(NodeLink link,
org.w3c.dom.Element element)
Never called. |
void |
unserialize(NodeLink nl,
org.w3c.dom.Element element)
Never called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinksManager()
| Method Detail |
|---|
public boolean canLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
canLink in interface LinkManagercontext - Teh current project context.node1 - The origin node.node2 - The target node.
public void createLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
createLink in interface LinkManagercontext - The project context.node1 - The origin node.node2 - The target node.
public void deleteLink(ProjectContext context,
NodeLink link)
deleteLink in interface LinkManagercontext - The project context.link - The link to be deleted.Project
public void editLink(ProjectContext context,
NodeLink link,
boolean shortView)
editLink in interface LinkManagercontext - The project context.link - The link to be edited.shortView - specifies if the edition mode is a single click (short view) or
dble-click (open precise editor).
public NodeLink copyLink(ProjectContext context,
NodeLink original,
NodeContainer node1,
NodeContainer node2)
copyLink in interface LinkManagercontext - The target project context.original - The original link.node1 - The copy of origin node.node2 - The copy of target node.
public void unserialize(NodeLink nl,
org.w3c.dom.Element element)
unserialize in interface LinkManagernl - The node link.element - The DOM element in which specific properties from link should be stored.
public void serialize(NodeLink link,
org.w3c.dom.Element element)
serialize in interface LinkManagerlink - The link to customize given the serialized data.element - The specific DOM element that stores properties.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||