Examples of canCopy()


Examples of org.olat.core.util.vfs.VFSItem.canCopy()

   * @param name
   * @return true: can copy; false: can not copy
   */
  public boolean canCopy(String name) {
    VFSItem item = resolveFile(name);
    if (item != null && VFSConstants.YES.equals(item.canCopy())) return true;
    else return false;
  }

  /**
   * Check if resource can be written (delegation to VFS item)
View Full Code Here

Examples of org.openbp.jaspira.gui.plugin.VisiblePlugin.canCopy()

     * @return EVENT_CONSUMED if the copy action was sucessfully performed, EVENT_IGNORED otherwise
     */
    public JaspiraEventHandlerCode copy(JaspiraActionEvent je)
    {
      VisiblePlugin target = PluginFocusMgr.getInstance().getFocusedPlugin();
      if (target != null && target.canCopy())
      {
        ClipboardMgr.getInstance().addEntry(target.copy());

        return EVENT_CONSUMED;
      }
View Full Code Here

Examples of org.openbp.jaspira.gui.plugin.VisiblePlugin.canCopy()

      boolean canPaste = false;

      VisiblePlugin target = PluginFocusMgr.getInstance().getFocusedPlugin();
      if (target != null)
      {
        canCopy = target.canCopy();
        canCut = target.canCut();
        canDelete = target.canDelete();

        Transferable transferable = ClipboardMgr.getInstance().getCurrentEntry();
        if (transferable != null)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.