|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alveole.studio.web.managers.BasicLinkManager com.alveole.studio.web.managers.JspToUrlLinkManager
public class JspToUrlLinkManager
Link manager that enables to create generic links from a JSP file, to any URL callable resource.
Field Summary | |
---|---|
static java.lang.String |
ExtId
This plugin ID. |
Fields inherited from class com.alveole.studio.web.managers.BasicLinkManager |
---|
xmlns, xmlprefix |
Constructor Summary | |
---|---|
JspToUrlLinkManager()
The JSP link manager. |
Method Summary | |
---|---|
boolean |
canLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
Check if this manager can link these two nodes. |
NodeLink |
copyLink(ProjectContext context,
NodeLink original,
NodeContainer node1,
NodeContainer node2)
Perform a copy... |
void |
createLink(ProjectContext context,
NodeContainer node1,
NodeContainer node2)
Open an editor and create a link from node1 to node2. |
void |
editLink(ProjectContext context,
NodeLink link,
boolean shortView)
Edit the given link for update. |
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 JspToUrlLinkManager()
Method Detail |
---|
public boolean canLink(ProjectContext context, NodeContainer node1, NodeContainer node2)
context
- The project context.node1
- The first 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 original node.node2
- The target node.public void editLink(ProjectContext context, NodeLink link, boolean shortView)
context
- The current project context.link
- The node link to be edited.shortView
- true if link is simply selected, false if link has been dbl-clicked.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |