Codota Logo
org.eclipse.ltk.ui.refactoring
Code IndexAdd Codota to your IDE (free)

How to use org.eclipse.ltk.ui.refactoring

Best Java code snippets using org.eclipse.ltk.ui.refactoring (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
 * Triggers the refactoring's condition checking and returns either the
 * error wizard page or a preview page, depending on the outcome of the
 * precondition checking.
 * 
 * @return either the error or the preview page, depending on the refactoring's
 *  precondition checking
 */
protected final IWizardPage computeSuccessorPage() {
  return getRefactoringWizard().computeUserInputSuccessorPage(this, getContainer());
}
origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
 * {@inheritDoc}
 */
public void setVisible(boolean visible) {
  if (visible)
    getRefactoringWizard().internalSetChange(InternalAPI.INSTANCE, null);
  super.setVisible(visible);
}

origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
 * {@inheritDoc}
 */
public boolean canFlipToNextPage() {
  if (fIsLastUserInputPage) {
    // we can't call getNextPage to determine if flipping is allowed since computing
    // the next page is quite expensive (checking preconditions and creating a
    // change). So we say yes if the page is complete.
    return isPageComplete();
  } else {
    return super.canFlipToNextPage();
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public IWizardPage getNextPage() {
  return super.getNextPage();
}
origin: org.eclipse/org.eclipse.jdt.ui

public boolean performFinish() {
  return super.performFinish();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public void dispose() {
  fInstanceofButton= null;
  fReplaceButton= null;
  fTableViewer= null;
  super.dispose();
}
origin: org.eclipse/org.eclipse.ltk.ui.refactoring

private void setConditionCheckingStatus(RefactoringStatus status, int style) {
  if ((style & CheckConditionsOperation.ALL_CONDITIONS) == CheckConditionsOperation.ALL_CONDITIONS)
    setConditionCheckingStatus(status);
  else if ((style & CheckConditionsOperation.INITIAL_CONDITONS) == CheckConditionsOperation.INITIAL_CONDITONS)
    setInitialConditionCheckingStatus(status);
  else if ((style & CheckConditionsOperation.FINAL_CONDITIONS) == CheckConditionsOperation.FINAL_CONDITIONS)
    setFinalConditionCheckingStatus(status);
}
origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
 * Returns the refactoring associated with this wizard page. Returns
 * <code>null</code> if the page isn't been added to any refactoring
 * wizard yet.
 * 
 * @return the refactoring associated with this refactoring wizard page
 *  or <code>null</code>
 */
protected Refactoring getRefactoring() {
  RefactoringWizard wizard= getRefactoringWizard();
  if (wizard == null)
    return null;
  return wizard.getRefactoring();
}

origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
 * {@inheritDoc}
 */
public IWizardPage getNextPage() {
  if (fIsLastUserInputPage) 
    return computeSuccessorPage();
  else
    return super.getNextPage();
}

origin: org.eclipse/org.eclipse.ltk.ui.refactoring

void feedInput(IChangePreviewViewer viewer, List categories) throws CoreException {
  viewer.setInput(new ChangePreviewViewerInput(fChange));
}

origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
 * Returns the page's refactoring wizard.
 * 
 * @return the page's refactoring wizard or <code>null</code> if the
 *         wizard hasn't been set yet
 */
protected RefactoringWizard getRefactoringWizard() {
  IWizard wizard= getWizard();
  if (wizard instanceof RefactoringWizard)
    return (RefactoringWizard) wizard;
  return null;
}

origin: org.eclipse/org.eclipse.ltk.ui.refactoring

/**
 * Adds the given <code>ChildNode<code> to this <code>LanguageElementNode</code>
 * 
 * @param child the child to add
 */
public void addChild(ChildNode child) {
  internalAddChild(child);
}

origin: org.eclipse/org.eclipse.ltk.ui.refactoring

public int compare(Object o1, Object o2) {
  TextEditBasedChangeGroup c1= (TextEditBasedChangeGroup)o1;
  TextEditBasedChangeGroup c2= (TextEditBasedChangeGroup)o2;
  int p1= getOffset(c1);
  int p2= getOffset(c2);
  if (p1 < p2)
    return -1;
  if (p1 > p2)
    return 1;
  // same offset
  return 0;	
}
private int getOffset(TextEditBasedChangeGroup edit) {
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public IWizardPage getNextPage() {
  return super.getNextPage();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public boolean performFinish() {
  return super.performFinish();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public void dispose() {
  fTreeViewer= null;
  super.dispose();
}
origin: org.eclipse/org.eclipse.jdt.ui

public void dispose() {
  fInstanceofButton= null;
  fReplaceButton= null;
  fTableViewer= null;
  super.dispose();
}
origin: org.eclipse/org.eclipse.jdt.ui

public void dispose() {
  fTreeViewer= null;
  super.dispose();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public void dispose() {
  fInstanceofButton= null;
  fReplaceButton= null;
  fTableViewer= null;
  super.dispose();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public void dispose() {
  fTreeViewer= null;
  super.dispose();
}
org.eclipse.ltk.ui.refactoring

Most used classes

  • RefactoringWizard
  • UserInputWizardPage
  • RefactoringWizardOpenOperation
  • RefactoringUI
    Central access point to access resources managed by the refactoring UI plug-in. Note: this class is
  • ChangePreviewViewerInput
    Instances of this class represent the input for an IChangePreviewViewer. The input object manages th
  • ApplyRefactoringScriptAction,
  • CreateRefactoringScriptAction,
  • ShowRefactoringHistoryAction,
  • RefactoringHistoryLabelProvider,
  • RefactoringHistoryWizard,
  • AbstractSynchronizationCompareAdapter,
  • AbstractSynchronizationContentProvider,
  • AbstractSynchronizationLabelProvider,
  • ISortableRefactoringHistoryControl,
  • RenameResourceWizard,
  • IChangePreviewViewer,
  • IStatusContextViewer,
  • LanguageElementNode,
  • RedoRefactoringAction
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now