@Override public void start(BundleContext context) throws Exception { super.start(context); connectToDatabase(); createSaveJob(); ISaveParticipant saveParticipant = new WorkspaceSaveParticipant(); ResourcesPlugin.getWorkspace().addSaveParticipant(BUNDLE_ID, saveParticipant); }
@Override public ISavedState addSaveParticipant(Plugin plugin, ISaveParticipant iSaveParticipant) throws CoreException { throw new UnsupportedOperationException(); }
@Override public ISavedState addSaveParticipant(String s, ISaveParticipant iSaveParticipant) throws CoreException { throw new UnsupportedOperationException(); }