Examples of IErlElementLocator


Examples of org.erlide.engine.model.root.IErlElementLocator

        if (page == null) {
            return;
        }

        IEditorPart part = null;
        final IErlElementLocator model = ErlangEngine.getInstance().getModel();
        IErlModule module;
        try {
            module = model.findModule(moduleName);
        } catch (final ErlModelException e) {
            ErlLogger.error(e);
            return;
        }
        IEditorInput input = null;
View Full Code Here

Examples of org.erlide.engine.model.root.IErlElementLocator

                    .getResource());
        }
        if (element instanceof LocalFileStorage) {
            final LocalFileStorage lfs = (LocalFileStorage) element;
            try {
                final IErlElementLocator model = ErlangEngine.getInstance().getModel();
                final IErlModule module = ErlangEngine
                        .getInstance()
                        .getModelFindService()
                        .findModule(model, null, null, lfs.getFullPath().toString(),
                                IErlElementLocator.Scope.ALL_PROJECTS);
View Full Code Here

Examples of org.erlide.engine.model.root.IErlElementLocator

        if (!ResourceUtil.samePath(resource.getLocation().toString(), fileName)) {
            final IProject project = resource.getProject();
            result = ResourceUtil.findResourceByLocation(project, fileName);
            if (result == null) {
                try {
                    final IErlElementLocator model = ErlangEngine.getInstance()
                            .getModel();
                    final IErlProject erlProject = model.findProject(project);
                    if (erlProject != null) {
                        final IErlModule includeFile = model.findIncludeFromProject(
                                erlProject, fileName, fileName,
                                IErlElementLocator.Scope.REFERENCED_PROJECTS);

                        if (includeFile == null) {
                            result = resource;
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.