Package q_impress.pmi.lib.project

Examples of q_impress.pmi.lib.project.LocationException


  @Override
  public String getLayoutLocation(String absoluteLocation) throws LocationException {
    IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
    if (absoluteLocation.startsWith(root.getLocation().toPortableString())) {
      return absoluteLocation.substring(absoluteLocation.length());
    } else throw new LocationException("Invalid absolute location : \"" + absoluteLocation + "\" .");
  }
View Full Code Here

TOP

Related Classes of q_impress.pmi.lib.project.LocationException

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.