public class SourceLocatorImpl extends ModelElementImpl implements SourceLocator
The following features are implemented:
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.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. |
annotations
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
NIL
EOPPOSITE_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, getAnnotations
eBasicSetContainer, eInternalContainer
dynamicGet, 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, eSettings
eAddVirtualValue, 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, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected 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 ModelElementImpl
public String getRootFolder()
getRootFolder
in interface SourceLocator
SourceLocator.setRootFolder(String)
,
ResourcesPackage.getSourceLocator_RootFolder()
public void setRootFolder(String newRootFolder)
setRootFolder
in interface SourceLocator
newRootFolder
- the new value of the 'Root Folder' attribute.SourceLocator.getRootFolder()
public EList<String> getExcludedPaths()
getExcludedPaths
in interface SourceLocator
ResourcesPackage.getSourceLocator_ExcludedPaths()
public EList<ProjectFactory> getProjectFactories()
getProjectFactories
in interface SourceLocator
ResourcesPackage.getSourceLocator_ProjectFactories()
public boolean isLocateNestedProjects()
isLocateNestedProjects
in interface SourceLocator
SourceLocator.setLocateNestedProjects(boolean)
,
ResourcesPackage.getSourceLocator_LocateNestedProjects()
public void setLocateNestedProjects(boolean newLocateNestedProjects)
setLocateNestedProjects
in interface SourceLocator
newLocateNestedProjects
- the new value of the 'Locate Nested Projects' attribute.SourceLocator.isLocateNestedProjects()
public EList<Predicate> getPredicates()
getPredicates
in interface SourceLocator
ResourcesPackage.getSourceLocator_Predicates()
public boolean matches(IProject project)
matches
in interface SourceLocator
public IProject loadProject(EList<ProjectFactory> defaultProjectFactories, BackendContainer backendContainer, IProgressMonitor monitor)
loadProject
in interface SourceLocator
public void handleProjects(EList<ProjectFactory> defaultProjectFactories, ProjectHandler projectHandler, MultiStatus status, IProgressMonitor monitor)
handleProjects
in interface SourceLocator
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ModelElementImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class ModelElementImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class ModelElementImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class ModelElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class ModelElementImpl
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
eInvoke
in interface InternalEObject
eInvoke
in class ModelElementImpl
InvocationTargetException
public String toString()
toString
in class BasicEObjectImpl
public 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 v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html