Examples of findMember()


Examples of nexj.core.meta.Selector.findMember()

            {
               load();
            }

            Selector sel = m_metaclass.findSelector(sym.toString());
            Member member = (sel == null) ? null : sel.findMember(nArgCount - 1);

            if (member == null)
            {
               Object value = Undefined.VALUE;
View Full Code Here

Examples of org.eclipse.core.resources.IContainer.findMember()

  // is atually the package fragment root)
  if (rootResource.getType() == IResource.FOLDER || rootResource.getType() == IResource.PROJECT) {
    IContainer folder = (IContainer) rootResource;
    String[] segs = this.names;
    for (int i = 0; i < segs.length; ++i) {
      IResource child = folder.findMember(segs[i]);
      if (child == null || child.getType() != IResource.FOLDER) {
        throw newNotPresentException();
      }
      folder = (IFolder) child;
    }
View Full Code Here

Examples of org.eclipse.core.resources.IContainer.findMember()

    char[][] exclusionPatterns = root.fullExclusionPatternChars();
    int i;
    for (i = 0; i < this.pkgName.length; i++) {
      String subFolderName = this.pkgName[i];
      sideEffectPackageName = Util.arrayConcat(sideEffectPackageName, subFolderName);
      IResource subFolder = parentFolder.findMember(subFolderName);
      if (subFolder == null) {
        createFolder(parentFolder, subFolderName, force);
        parentFolder = parentFolder.getFolder(new Path(subFolderName));
        IPackageFragment addedFrag = root.getPackageFragment(sideEffectPackageName);
        if (!Util.isExcluded(parentFolder, inclusionPatterns, exclusionPatterns)) {
View Full Code Here

Examples of org.eclipse.core.resources.IContainer.findMember()

    return new JavaModelStatus(IJavaModelStatusConstants.READ_ONLY, root);
  }
  IContainer parentFolder = (IContainer) root.getResource();
  int i;
  for (i = 0; i < this.pkgName.length; i++) {
    IResource subFolder = parentFolder.findMember(this.pkgName[i]);
    if (subFolder != null) {
      if (subFolder.getType() != IResource.FOLDER) {
        return new JavaModelStatus(
          IJavaModelStatusConstants.NAME_COLLISION,
          Messages.bind(Messages.status_nameCollision, subFolder.getFullPath().toString()));
View Full Code Here

Examples of org.eclipse.core.resources.IFolder.findMember()

        IFolder current = syncDir;
        for (int i = 0; i < repositoryImportRoot.segmentCount(); i++) {
            IPath repoPath = current.getProjectRelativePath().makeRelativeTo(syncDir.getProjectRelativePath())
                    .makeAbsolute();
            parseIgnoreFiles(current, repoPath.toPortableString());
            current = (IFolder) current.findMember(repositoryImportRoot.segment(i));
        }

    }

    private void recordNotIgnoredResources() throws CoreException {
View Full Code Here

Examples of org.eclipse.core.resources.IProject.findMember()

        // instantiate the content provider
        JcrContentContentProvider contentProvider = new JcrContentContentProvider();

        // directly create the root node
        SyncDir syncDirNode = new SyncDir((IFolder) contentProject.findMember("jcr_root"));

        // test children of '/'
        Object[] children = contentProvider.getChildren(syncDirNode);
        assertChildrenHavePaths(children, "/content");
View Full Code Here

Examples of org.eclipse.core.resources.IResourceDelta.findMember()

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;
        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        if ((delta.getKind() & IResourceDelta.CHANGED) != 0 && (delta.getFlags() & IResourceDelta.MARKERS) != 0) {
            getEditorSite().getShell().getDisplay().asyncExec(new Runnable() {
View Full Code Here

Examples of org.eclipse.core.resources.IResourceDelta.findMember()

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;
        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        // Delegate to any interested pages
        for (Object page : pages) {
View Full Code Here

Examples of org.eclipse.core.resources.IResourceDelta.findMember()

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;

        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        if (delta.getKind() == IResourceDelta.REMOVED) {
            close(false);
View Full Code Here

Examples of org.eclipse.core.resources.IResourceDelta.findMember()

        IResourceDelta delta = event.getDelta();
        if (delta == null)
            return;
        IPath fullPath = myResource.getFullPath();
        delta = delta.findMember(fullPath);
        if (delta == null)
            return;

        if ((delta.getKind() & IResourceDelta.CHANGED) != 0 && (delta.getFlags() & IResourceDelta.MARKERS) != 0) {
            getEditorSite().getShell().getDisplay().asyncExec(new Runnable() {
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.