@Override public void setKeepPreviewEdits(boolean keep) { super.setKeepPreviewEdits(keep); if (!keep) fCopier= null; } }
/** * {@inheritDoc} */ public void setKeepPreviewEdits(boolean keep) { super.setKeepPreviewEdits(keep); if (!keep) fCopier= null; } }
@Override public void setKeepPreviewEdits(boolean keep) { super.setKeepPreviewEdits(keep); if (!keep) fCopier= null; } }
@Override public final void setKeepPreviewEdits(final boolean keep) { super.setKeepPreviewEdits(keep); if (!keep) fCopier= null; }
public final void setKeepPreviewEdits(final boolean keep) { super.setKeepPreviewEdits(keep); if (!keep) fCopier= null; }
@Override public final void setKeepPreviewEdits(final boolean keep) { super.setKeepPreviewEdits(keep); if (!keep) fCopier= null; }
@Override public void setKeepPreviewEdits(boolean keep) { getTextEditBasedChangeDelegate().setKeepPreviewEdits(keep); }
/** * Returns the <code>TextEditBasedChange</code> associated with the given compilation unit. * If the manager does not already manage an association it creates a one. * * @param cu the compilation unit for which the text buffer change is requested * @return the text change associated with the given compilation unit. */ public TextEditBasedChange get(ICompilationUnit cu) { TextEditBasedChange result= fMap.get(cu); if (result == null) { result= new CompilationUnitChange(cu.getElementName(), cu); result.setKeepPreviewEdits(fKeepExecutedTextEdits); fMap.put(cu, result); } return result; }
/** * Returns the <code>TextEditBasedChange</code> associated with the given compilation unit. * If the manager does not already manage an association it creates a one. * * @param cu the compilation unit for which the text buffer change is requested * @return the text change associated with the given compilation unit. */ public TextEditBasedChange get(ICompilationUnit cu) { TextEditBasedChange result= (TextEditBasedChange)fMap.get(cu); if (result == null) { result= new CompilationUnitChange(cu.getElementName(), cu); result.setKeepPreviewEdits(fKeepExecutedTextEdits); fMap.put(cu, result); } return result; }
/** * Returns the <code>TextEditBasedChange</code> associated with the given compilation unit. * If the manager does not already manage an association it creates a one. * * @param cu the compilation unit for which the text buffer change is requested * @return the text change associated with the given compilation unit. */ public TextEditBasedChange get(ICompilationUnit cu) { TextEditBasedChange result= fMap.get(cu); if (result == null) { result= new CompilationUnitChange(cu.getElementName(), cu); result.setKeepPreviewEdits(fKeepExecutedTextEdits); fMap.put(cu, result); } return result; }