| java.lang.Object org.netbeans.modules.visualweb.designer.jsf.DndSupport
DndSupport | class DndSupport implements FacesModel.JsfSupport(Code) | | Place for JSF specific DnD support.
Factored out the complicated stuff from the designer/DnDHandler.
XXX TODO Merge with FacesDndSupport.
XXX TODO Separate FacesModel.JsfSupport impl.
author: Peter Zavadsky author: Tor Norbye (the original moved code) |
Method Summary | |
boolean | canImport(JComponent comp, DataFlavor[] transferFlavors, Transferable transferable) | int | computeActions(DesignBean droppee, Transferable transferable) | String[] | getClassNames(DisplayItem[] displayItems) | int | getDropType(DesignBean origDroppee, Element droppeeElement, Transferable t, boolean linkOnly) | int | getDropTypeForClassNames(DesignBean origDroppee, Element droppeeElement, String[] classNames, DesignBean[] beans, boolean linkOnly) Decide whether or not we can drop the given palette item at the given position. | DataFlavor | getImportFlavor(DataFlavor[] flavors) | boolean | importData(Designer designer, JComponent comp, Transferable t, Point canvasPos, Node documentPosNode, int documentPosOffset, Dimension dimension, boolean isGrid, Element droppeeElement, DesignBean droppeeBean, DesignBean defaultParent, int dropAction) | void | importString(Designer designer, String string, Point canvasPos, Node documentPosNode, int documentPosOffset, Dimension dimension, boolean isGrid, Element droppeeElement, DesignBean droppeeBean, DesignBean defaultParent) | public void | moveBeans(DesignBean[] designBeans, DesignBean liveBean) | DesignBean[] | pasteBeans(Transferable t, DesignBean parent, MarkupPosition pos, Point location, FacesDndSupport.UpdateSuspender updateSuspender) | int | processLinks(Element origElement, List<DesignBean> beans) | public void | refresh(boolean deep) | public void | selectAndInlineEdit(DesignBean[] beans, DesignBean bean) | void | updateDndListening() |
DndSupport | public DndSupport(JsfForm jsfForm)(Code) | | Creates a new instance of DndSupport
|
getDropTypeForClassNames | int getDropTypeForClassNames(DesignBean origDroppee, Element droppeeElement, String[] classNames, DesignBean[] beans, boolean linkOnly)(Code) | | Decide whether or not we can drop the given palette item at the given position.
|
importData | boolean importData(Designer designer, JComponent comp, Transferable t, Point canvasPos, Node documentPosNode, int documentPosOffset, Dimension dimension, boolean isGrid, Element droppeeElement, DesignBean droppeeBean, DesignBean defaultParent, int dropAction)(Code) | | |
refresh | public void refresh(boolean deep)(Code) | | |
updateDndListening | void updateDndListening()(Code) | | |
|
|