public void run(final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { try { RefactoringCore.getHistoryService().writeRefactoringDescriptors(writable, stream, RefactoringDescriptor.NONE, false, monitor); } catch (CoreException exception) { throw new InvocationTargetException(exception); } } });
/** * {@inheritDoc} */ public final void dispose() { RefactoringCore.getHistoryService().disconnect(); super.dispose(); }
output= new BufferedOutputStream(new FileOutputStream(file)); try { RefactoringCore.getHistoryService().writeRefactoringDescriptors(proxies, output, RefactoringDescriptor.NONE, false, monitor); try { output.close();
output= new BufferedOutputStream(new FileOutputStream(file)); try { RefactoringCore.getHistoryService().writeRefactoringDescriptors(proxies, output, RefactoringDescriptor.NONE, false, monitor); try { output.close();
public void run(final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { final IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect(); wizard.setRefactoringHistory(service.getWorkspaceHistory(monitor)); } finally { service.disconnect(); } } });
public void run(final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { final IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect(); wizard.setRefactoringHistory(service.getWorkspaceHistory(monitor)); } finally { service.disconnect(); } } });
if (proxies != null && proxies.length > 0) { int count= 1; IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
elements.clear(); count= 1; IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
elements.clear(); count= 1; IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
elements.clear(); count= 1; IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
if (proxies != null && proxies.length > 0) { int count= 1; IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
if (proxies != null && proxies.length > 0) { int count= 1; IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
try { stream= zip.getInputStream(entry); final RefactoringHistory existing= RefactoringCore.getHistoryService().readRefactoringHistory(stream, JavaRefactoringDescriptor.JAR_MIGRATION | JavaRefactoringDescriptor.JAR_REFACTORING); if (existing != null) fHistoryDelta= incoming.removeAll(existing).getDescriptors();
try { stream= zip.getInputStream(entry); final RefactoringHistory existing= RefactoringCore.getHistoryService().readRefactoringHistory(stream, JavaRefactoringDescriptor.JAR_MIGRATION | JavaRefactoringDescriptor.JAR_REFACTORING); if (existing != null) fHistoryDelta= incoming.removeAll(existing).getDescriptors();
try { stream= new BufferedInputStream(new FileInputStream(file)); fWizard.setRefactoringHistory(RefactoringCore.getHistoryService().readRefactoringHistory(stream, RefactoringDescriptor.NONE)); } catch (IOException exception) { setErrorMessage(ScriptingMessages.ApplyRefactoringScriptWizardPage_error_cannot_read);
try { final ByteArrayInputStream stream= new ByteArrayInputStream(script.getBytes(IRefactoringSerializationConstants.OUTPUT_ENCODING)); fWizard.setRefactoringHistory(RefactoringCore.getHistoryService().readRefactoringHistory(stream, RefactoringDescriptor.NONE)); } catch (UnsupportedEncodingException exception) {
final IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
final IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
final IRefactoringHistoryService service= RefactoringCore.getHistoryService(); try { service.connect();
RefactoringCore.getHistoryService().connect(); GridLayout layout= new GridLayout(getContainerColumns(), false); layout.marginHeight= 0;