Revision aa997cff
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchWindowAdvisor.java | ||
---|---|---|
61 | 61 |
CdmStore.connect(); |
62 | 62 |
} |
63 | 63 |
|
64 |
P2Util.setDefaultUpdateRepositories();
|
|
64 |
P2Util.setP2UpdateRepositories();
|
|
65 | 65 |
|
66 | 66 |
} |
67 | 67 |
|
68 |
/* (non-Javadoc) |
|
69 |
* @see org.eclipse.ui.application.WorkbenchWindowAdvisor#postWindowClose() |
|
70 |
*/ |
|
71 |
@Override |
|
72 |
public void postWindowClose() { |
|
73 |
P2Util.saveP2RepositoryPreferences(); |
|
74 |
} |
|
75 |
|
|
68 | 76 |
private int authenticate(){ |
69 | 77 |
Shell shell = TaxonomicEditorPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getShell(); |
70 | 78 |
|
Also available in: Unified diff
pom.xml : comment for the file permissions problem
eu.etaxonomy.taxeditor.application/META-INF/MANIFEST.MF : removed version numbers and added plugin for repository metadata
ApplicationWorkbenchWindowAdvisor : added saving of repositories to post window close
P2Util, PreferencesUtil, PreferencesUtil : added loading / saving of repositories from / to preference store
eu.etaxonomy.taxeditor.store/META-INF/MANIFEST.MF : added plugin for repository metadata