public class SourceLocatorImpl extends ModelElementImpl implements SourceLocator
The following features are implemented:
MinimalEObjectImpl.Container.DynamicMinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
protected EList<String> |
excludedPaths
The cached value of the '
Excluded Paths' attribute list. |
protected static boolean |
LOCATE_NESTED_PROJECTS_EDEFAULT
The default value of the '
Locate Nested Projects' attribute. |
protected boolean |
locateNestedProjects
The cached value of the '
Locate Nested Projects' attribute. |
protected EList<Predicate> |
predicates
The cached value of the '
Predicates' containment reference list. |
protected EList<ProjectFactory> |
projectFactories
The cached value of the '
Project Factories' containment reference list. |
protected static String |
ROOT_FOLDER_EDEFAULT
The default value of the '
Root Folder' attribute. |
protected String |
rootFolder
The cached value of the '
Root Folder' attribute. |
annotationseContainerEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETNILEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
SourceLocatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addStatus(MultiStatus status,
OomphPlugin plugin,
String file,
Object object) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
Object |
eInvoke(int operationID,
EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
EList<String> |
getExcludedPaths() |
EList<Predicate> |
getPredicates() |
EList<ProjectFactory> |
getProjectFactories() |
static BackendContainer |
getRootContainer(SourceLocator sourceLocator) |
String |
getRootFolder() |
void |
handleProjects(EList<ProjectFactory> defaultProjectFactories,
ProjectHandler projectHandler,
MultiStatus status,
IProgressMonitor monitor) |
static void |
handleProjects(SourceLocator sourceLocator,
EList<ProjectFactory> defaultProjectFactories,
ProjectHandler projectHandler,
MultiStatus status,
IProgressMonitor monitor) |
boolean |
isLocateNestedProjects() |
IProject |
loadProject(EList<ProjectFactory> defaultProjectFactories,
BackendContainer backendContainer,
IProgressMonitor monitor) |
static IProject |
loadProject(SourceLocator sourceLocator,
EList<ProjectFactory> defaultProjectFactories,
BackendContainer rootContainer,
BackendContainer backendContainer,
IProgressMonitor monitor) |
boolean |
matches(IProject project) |
void |
setLocateNestedProjects(boolean newLocateNestedProjects) |
void |
setRootFolder(String newRootFolder) |
String |
toString() |
eInverseAdd, getAnnotation, getAnnotationseBasicSetContainer, eInternalContainerdynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereNotificationRequiredprotected static final String ROOT_FOLDER_EDEFAULT
Root Folder' attribute.
getRootFolder()protected String rootFolder
Root Folder' attribute.
getRootFolder()protected EList<String> excludedPaths
Excluded Paths' attribute list.
getExcludedPaths()protected EList<ProjectFactory> projectFactories
Project Factories' containment reference list.
getProjectFactories()protected EList<Predicate> predicates
Predicates' containment reference list.
getPredicates()protected static final boolean LOCATE_NESTED_PROJECTS_EDEFAULT
Locate Nested Projects' attribute.
isLocateNestedProjects(),
Constant Field Valuesprotected boolean locateNestedProjects
Locate Nested Projects' attribute.
isLocateNestedProjects()protected EClass eStaticClass()
eStaticClass in class ModelElementImplpublic String getRootFolder()
getRootFolder in interface SourceLocatorSourceLocator.setRootFolder(String),
ResourcesPackage.getSourceLocator_RootFolder()public void setRootFolder(String newRootFolder)
setRootFolder in interface SourceLocatornewRootFolder - the new value of the 'Root Folder' attribute.SourceLocator.getRootFolder()public EList<String> getExcludedPaths()
getExcludedPaths in interface SourceLocatorResourcesPackage.getSourceLocator_ExcludedPaths()public EList<ProjectFactory> getProjectFactories()
getProjectFactories in interface SourceLocatorResourcesPackage.getSourceLocator_ProjectFactories()public boolean isLocateNestedProjects()
isLocateNestedProjects in interface SourceLocatorSourceLocator.setLocateNestedProjects(boolean),
ResourcesPackage.getSourceLocator_LocateNestedProjects()public void setLocateNestedProjects(boolean newLocateNestedProjects)
setLocateNestedProjects in interface SourceLocatornewLocateNestedProjects - the new value of the 'Locate Nested Projects' attribute.SourceLocator.isLocateNestedProjects()public EList<Predicate> getPredicates()
getPredicates in interface SourceLocatorResourcesPackage.getSourceLocator_Predicates()public boolean matches(IProject project)
matches in interface SourceLocatorpublic IProject loadProject(EList<ProjectFactory> defaultProjectFactories, BackendContainer backendContainer, IProgressMonitor monitor)
loadProject in interface SourceLocatorpublic void handleProjects(EList<ProjectFactory> defaultProjectFactories, ProjectHandler projectHandler, MultiStatus status, IProgressMonitor monitor)
handleProjects in interface SourceLocatorpublic NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class ModelElementImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface InternalEObjecteGet in class ModelElementImplpublic void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class ModelElementImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ModelElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ModelElementImplpublic Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
eInvoke in interface InternalEObjecteInvoke in class ModelElementImplInvocationTargetExceptionpublic String toString()
toString in class BasicEObjectImplpublic static void addStatus(MultiStatus status, OomphPlugin plugin, String file, Object object)
public static BackendContainer getRootContainer(SourceLocator sourceLocator)
public static IProject loadProject(SourceLocator sourceLocator, EList<ProjectFactory> defaultProjectFactories, BackendContainer rootContainer, BackendContainer backendContainer, IProgressMonitor monitor)
public static void handleProjects(SourceLocator sourceLocator, EList<ProjectFactory> defaultProjectFactories, ProjectHandler projectHandler, MultiStatus status, IProgressMonitor monitor)
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html