Package org.eclipse.jst.pagedesigner.actions.link

Examples of org.eclipse.jst.pagedesigner.actions.link.LinkRequest


    if (part instanceof TextEditPart) {
      //TODO: ?? part = (TextEditPart) part;
      viewer = (IHTMLGraphicalViewer) part.getViewer();
    }
    if (request instanceof LinkRequest) {
      LinkRequest req = (LinkRequest) request;
      String identifier = req.getIdentifier();
      DesignRange range = req.getDesignRange();
            // TODO: when part !instancof TextEditPart, viewer == null
      Command command = new MakeLinkCommand(identifier, viewer, part,
          range);
      return command;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.actions.link.LinkRequest

Copyright © 2018 www.massapicom. 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.