congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AbstractRefactoringHistoryResourceMapping.getProjects
Code IndexAdd Tabnine to your IDE (free)

How to use
getProjects
method
in
org.eclipse.ltk.core.refactoring.model.AbstractRefactoringHistoryResourceMapping

Best Java code snippets using org.eclipse.ltk.core.refactoring.model.AbstractRefactoringHistoryResourceMapping.getProjects (Showing top 3 results out of 315)

origin: org.eclipse.platform/org.eclipse.ltk.core.refactoring

@Override
public final ResourceTraversal[] getTraversals(final ResourceMappingContext context, final IProgressMonitor monitor) throws CoreException {
  if (fResourceTraversals == null) {
    final IProject[] projects= getProjects();
    final ResourceTraversal[] traversals= new ResourceTraversal[projects.length];
    for (int index= 0; index < projects.length; index++)
      traversals[index]= new ResourceTraversal(new IResource[] { projects[index].getFolder(RefactoringHistoryService.NAME_HISTORY_FOLDER)}, IResource.DEPTH_INFINITE, IResource.NONE);
    fResourceTraversals= traversals;
  }
  final ResourceTraversal[] traversals= new ResourceTraversal[fResourceTraversals.length];
  System.arraycopy(fResourceTraversals, 0, traversals, 0, fResourceTraversals.length);
  return traversals;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ltk.core.refactoring

@Override
public final ResourceTraversal[] getTraversals(final ResourceMappingContext context, final IProgressMonitor monitor) throws CoreException {
  if (fResourceTraversals == null) {
    final IProject[] projects= getProjects();
    final ResourceTraversal[] traversals= new ResourceTraversal[projects.length];
    for (int index= 0; index < projects.length; index++)
      traversals[index]= new ResourceTraversal(new IResource[] { projects[index].getFolder(RefactoringHistoryService.NAME_HISTORY_FOLDER)}, IResource.DEPTH_INFINITE, IResource.NONE);
    fResourceTraversals= traversals;
  }
  final ResourceTraversal[] traversals= new ResourceTraversal[fResourceTraversals.length];
  System.arraycopy(fResourceTraversals, 0, traversals, 0, fResourceTraversals.length);
  return traversals;
}
origin: org.eclipse/org.eclipse.ltk.core.refactoring

/**
 * {@inheritDoc}
 */
public final ResourceTraversal[] getTraversals(final ResourceMappingContext context, final IProgressMonitor monitor) throws CoreException {
  if (fResourceTraversals == null) {
    final IProject[] projects= getProjects();
    final ResourceTraversal[] traversals= new ResourceTraversal[projects.length];
    for (int index= 0; index < projects.length; index++)
      traversals[index]= new ResourceTraversal(new IResource[] { projects[index].getFolder(RefactoringHistoryService.NAME_HISTORY_FOLDER)}, IResource.DEPTH_INFINITE, IResource.NONE);
    fResourceTraversals= traversals;
  }
  final ResourceTraversal[] traversals= new ResourceTraversal[fResourceTraversals.length];
  System.arraycopy(fResourceTraversals, 0, traversals, 0, fResourceTraversals.length);
  return traversals;
}
org.eclipse.ltk.core.refactoring.modelAbstractRefactoringHistoryResourceMappinggetProjects

Popular methods of AbstractRefactoringHistoryResourceMapping

  • getTraversals
  • getResource
    Returns the associated resource. This method only returns a meaningful result if the history contain

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • findViewById (Activity)
  • getApplicationContext (Context)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now