Class EclipseUtils.DummyContainer

  • All Implemented Interfaces:
    java.lang.Cloneable, org.eclipse.core.internal.resources.ICoreConstants, org.eclipse.core.internal.watson.IPathRequestor, org.eclipse.core.resources.IContainer, org.eclipse.core.resources.IResource, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.jobs.ISchedulingRule
    Enclosing class:
    EclipseUtils

    static class EclipseUtils.DummyContainer
    extends org.eclipse.core.internal.resources.Container
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List<org.eclipse.core.resources.IResource> resources  
      • Fields inherited from interface org.eclipse.core.resources.IContainer

        DO_NOT_CHECK_EXISTENCE, EXCLUDE_DERIVED, INCLUDE_HIDDEN, INCLUDE_PHANTOMS, INCLUDE_TEAM_PRIVATE_MEMBERS
      • Fields inherited from interface org.eclipse.core.internal.resources.ICoreConstants

        CRASH_DETECTED, EMPTY_BUILD_CONFIG_ARRAY, EMPTY_FILE_STATES, EMPTY_PROJECT_ARRAY, EMPTY_RESOURCE_ARRAY, I_NULL_SYNC_INFO, K_BUILD_LIST, M_CHILDREN_UNKNOWN, M_CONTENT_CACHE, M_DEFAULT_CONTENT_DESCRIPTION, M_DERIVED, M_HIDDEN, M_LINK, M_LOCAL_EXISTS, M_MARKERS_SNAP_DIRTY, M_NO_CONTENT_DESCRIPTION, M_OPEN, M_PHANTOM, M_SYNCINFO_SNAP_DIRTY, M_TEAM_PRIVATE_MEMBER, M_TYPE, M_TYPE_START, M_USED, M_VIRTUAL, MINIMUM_FILE_SEGMENT_LENGTH, MINIMUM_FOLDER_SEGMENT_LENGTH, NULL_FLAG, PREF_VERSION, PREF_VERSION_KEY, PROJECT_SEGMENT_LENGTH, REFRESH_ON_STARTUP, WORKSPACE_TREE_VERSION_1, WORKSPACE_TREE_VERSION_2
      • Fields inherited from interface org.eclipse.core.resources.IResource

        ALLOW_MISSING_LOCAL, ALWAYS_DELETE_PROJECT_CONTENT, AVOID_NATURE_CONFIG, BACKGROUND_REFRESH, CHECK_ANCESTORS, DEPTH_INFINITE, DEPTH_ONE, DEPTH_ZERO, DERIVED, FILE, FOLDER, FORCE, HIDDEN, KEEP_HISTORY, NEVER_DELETE_PROJECT_CONTENT, NONE, NULL_STAMP, PROJECT, REPLACE, ROOT, SHALLOW, TEAM_PRIVATE, VIRTUAL
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DummyContainer​(org.eclipse.core.resources.IResource[] resources)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(org.eclipse.core.resources.IResourceProxyVisitor visitor, int memberFlags)  
      java.lang.String getDefaultCharset​(boolean checkImplicit)  
      int getType()  
      • Methods inherited from class org.eclipse.core.internal.resources.Container

        convertToPhantom, createFilter, exists, findDeletedMembersWithHistory, findMember, findMember, findMember, findMember, fixupAfterMoveSource, getChildren, getDefaultCharset, getFile, getFile, getFilters, getFolder, getFolder, hasFilters, isLocal, members, members, members, removeFilter, setDefaultCharset, setDefaultCharset
      • Methods inherited from class org.eclipse.core.internal.resources.Resource

        accept, accept, accept, accept, assertCopyRequirements, assertLinkRequirements, assertMoveRequirements, checkAccessible, checkCopyRequirements, checkDoesNotExist, checkDoesNotExist, checkExists, checkLocal, checkMoveRequirements, checkValidGroupContainer, checkValidGroupContainer, checkValidPath, clearHistory, contains, copy, copy, copy, copy, countResources, createLink, createLink, createMarker, createProxy, delete, delete, delete, deleteMarkers, deleteResource, equals, exists, exists, filterChildren, findExistingResourceVariant, findMarker, findMarkers, findMaxProblemSeverity, getFileExtension, getFlags, getFullPath, getLocalManager, getLocalTimeStamp, getLocation, getLocationURI, getMarker, getMarkerManager, getModificationStamp, getName, getParent, getPathVariableManager, getPersistentProperties, getPersistentProperty, getProject, getProjectRelativePath, getPropertyManager, getRawLocation, getRawLocationURI, getResourceAttributes, getResourceInfo, getSessionProperties, getSessionProperty, getStore, getTypeString, getValidGroupContainer, getWorkspace, hashCode, internalSetLocal, isAccessible, isConflicting, isDerived, isDerived, isFiltered, isFilteredWithException, isHidden, isHidden, isLinked, isLinked, isLocal, isMember, isPhantom, isPhantom, isReadOnly, isSynchronized, isTeamPrivateMember, isTeamPrivateMember, isUnderLink, isUnderVirtual, isVirtual, makePathAbsolute, move, move, move, move, move, refreshLocal, requestName, requestPath, revertModificationStamp, setDerived, setDerived, setHidden, setLinkLocation, setLinkLocation, setLocal, setLocalTimeStamp, setPersistentProperty, setReadOnly, setResourceAttributes, setSessionProperty, setTeamPrivateMember, synchronizing, toString, touch
      • Methods inherited from class org.eclipse.core.runtime.PlatformObject

        getAdapter
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.core.runtime.IAdaptable

        getAdapter
      • Methods inherited from interface org.eclipse.core.resources.IResource

        accept, accept, accept, accept, clearHistory, copy, copy, copy, copy, createMarker, createProxy, delete, delete, deleteMarkers, equals, exists, findMarker, findMarkers, findMaxProblemSeverity, getFileExtension, getFullPath, getLocalTimeStamp, getLocation, getLocationURI, getMarker, getModificationStamp, getName, getParent, getPathVariableManager, getPersistentProperties, getPersistentProperty, getProject, getProjectRelativePath, getRawLocation, getRawLocationURI, getResourceAttributes, getSessionProperties, getSessionProperty, getWorkspace, isAccessible, isDerived, isDerived, isHidden, isHidden, isLinked, isLinked, isLocal, isPhantom, isReadOnly, isSynchronized, isTeamPrivateMember, isTeamPrivateMember, isVirtual, move, move, move, move, refreshLocal, revertModificationStamp, setDerived, setDerived, setHidden, setLocal, setLocalTimeStamp, setPersistentProperty, setReadOnly, setResourceAttributes, setSessionProperty, setTeamPrivateMember, touch
      • Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule

        contains, isConflicting
    • Field Detail

      • resources

        java.util.List<org.eclipse.core.resources.IResource> resources
    • Constructor Detail

      • DummyContainer

        protected DummyContainer​(org.eclipse.core.resources.IResource[] resources)
    • Method Detail

      • getType

        public int getType()
        Specified by:
        getType in interface org.eclipse.core.resources.IResource
        Specified by:
        getType in class org.eclipse.core.internal.resources.Resource
      • getDefaultCharset

        public java.lang.String getDefaultCharset​(boolean checkImplicit)
                                           throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • accept

        public void accept​(org.eclipse.core.resources.IResourceProxyVisitor visitor,
                           int memberFlags)
                    throws org.eclipse.core.runtime.CoreException
        Specified by:
        accept in interface org.eclipse.core.resources.IResource
        Overrides:
        accept in class org.eclipse.core.internal.resources.Resource
        Throws:
        org.eclipse.core.runtime.CoreException