|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alveole.studio.web.managers.BasicLinkManager
com.alveole.studio.web.managers.PackageToAnyLinksManager
public class PackageToAnyLinksManager
This class handles package to package links.
Nested Class Summary | |
---|---|
class |
PackageToAnyLinksManager.CreateLinkListener
A data-model associated to a View Editor. |
class |
PackageToAnyLinksManager.EditLinkListener
A data-model associated to a View Editor. |
Field Summary | |
---|---|
static java.lang.String |
ExtId
This plguin ID. |
Fields inherited from class com.alveole.studio.web.managers.BasicLinkManager |
---|
xmlns, xmlprefix |
Constructor Summary | |
---|---|
PackageToAnyLinksManager()
|
Method Summary | |
---|---|
boolean |
canLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
Check if can link. |
NodeLink |
copyLink(ProjectContext context,
NodeLink original,
NodeContainer node1,
NodeContainer node2)
Create a copy of this link. |
void |
createLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
Create a link. |
void |
editLink(ProjectContext context,
NodeLink link,
boolean shortView)
Edit a link. |
Methods inherited from class com.alveole.studio.web.managers.BasicLinkManager |
---|
deleteLink, serialize, unserialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ExtId
Constructor Detail |
---|
public PackageToAnyLinksManager()
Method Detail |
---|
public boolean canLink(ProjectContext context, NodeContainer node1, NodeContainer node2)
context
- The project context.node1
- The origin node.node2
- The target node.
public NodeLink copyLink(ProjectContext context, NodeLink original, NodeContainer node1, NodeContainer node2)
context
- The project context.original
- The origin node for this link.node1
- The copy of the origin node.node2
- The copy of the target node.
public void createLink(ProjectContext context, NodeContainer node1, NodeContainer node2)
context
- the project context.node1
- The origin node.node2
- The target node.public void editLink(ProjectContext context, NodeLink link, boolean shortView)
context
- The project context.link
- The link to edit.shortView
- The edition mode.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |