Examples of ErlModelStatus


Examples of org.erlide.engine.model.ErlModelStatus

    @Override
    public void save(final IProgressMonitor pm, final boolean force)
            throws ErlModelException {
        if (isReadOnly()) {
            throw new ErlModelException(new ErlModelStatus(
                    ErlModelStatusConstants.READ_ONLY, this));
        }
        // final IBuffer buf = getBuffer();
        // if (buf != null) { // some ErlElements (like a ErlProject) don't have
        // a
View Full Code Here

Examples of org.erlide.engine.model.ErlModelStatus

            final IResource[] members = c.members();
            for (final IResource resource : members) {
                model.create(resource);
            }
        } catch (final CoreException e) {
            throw new ErlModelException(new ErlModelStatus(
                    ErlModelStatusConstants.CORE_EXCEPTION, e));
        }
        return true;
    }
View Full Code Here

Examples of org.erlide.engine.model.ErlModelStatus

        // check whether the Erlang project can be opened
        if (!(r instanceof IContainer) || !r.isAccessible()) {
            ErlLogger.warn("Project %s has no resources: res:%s acc:%s cont:%s",
                    getName(), r, r == null ? "?" : r.isAccessible(),
                    r instanceof IContainer);
            throw new ErlModelException(new ErlModelStatus(
                    ErlModelStatusConstants.ELEMENT_DOES_NOT_EXIST, this));
        }

        addConfigurationChangeListeners();
View Full Code Here

Examples of org.erlide.engine.model.ErlModelStatus

            if (!project.isOpen()) {
                project.open(null);
            }
            return createProject(project);
        } catch (final CoreException e) {
            throw new ErlModelException(e, new ErlModelStatus(e));
        }
    }
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.