Package q_impress.pmi.lib.project

Examples of q_impress.pmi.lib.project.ExternalResource


            ResourcesPlugin.getWorkspace().getRoot(),
            "Select the resource");
        if (dialog.open() == ContainerSelectionDialog.OK) {
          if (dialog.getResult().length == 1) {
            org.eclipse.core.resources.IResource selectedRes = (org.eclipse.core.resources.IResource) dialog.getResult()[0];
            ExternalResource resource = (ExternalResource) getSelectedResource();
            resource.setLocation(selectedRes.getFullPath().toOSString());
            resourceSectionPart.markStale();
            resourceSectionPart.markDirty();
          } else {
            MessageDialog.openError(PlatformUI.getWorkbench().getDisplay().getActiveShell(),
                "Resource selection", "Only one resource must be selected");
View Full Code Here

TOP

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

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.