Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #93 from agrabovskis/master
Browse files Browse the repository at this point in the history
Remove calls to code.inf.unibz.it
  • Loading branch information
ajermakovics authored Jul 23, 2018
2 parents 12f1a20 + 1d7ea24 commit 0d7a3af
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 697 deletions.
1 change: 0 additions & 1 deletion instasearch.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ http://www.eclipse.org/org/documents/epl-v10.html
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.ui.workbench.texteditor"/>
<import plugin="org.eclipse.core.net"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.search"/>
Expand Down
2 changes: 1 addition & 1 deletion instasearch/.project
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<link>
<name>root_pom.xml</name>
<type>1</type>
<location>/Users/ajermakovics/Workspace/eclipse-instasearch/pom.xml</location>
<locationURI>UP/pom.xml</locationURI>
</link>
</linkedResources>
<variableList>
Expand Down
5 changes: 1 addition & 4 deletions instasearch/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@ Bundle-SymbolicName: it.unibz.instasearch;singleton:=true
Bundle-Version: 1.5.7.qualifier
Bundle-Activator: it.unibz.instasearch.InstaSearchPlugin
Bundle-DocURL: https://github.com/ajermakovics/eclipse-instasearch
Bundle-UpdateLocation: http://code.inf.unibz.it/instasearch/downloads/ver.php
ErrorReportURL: http://code.inf.unibz.it/instasearch/downloads/contact/send.php
Bundle-UpdateLocation: http://dl.bintray.com/ajermakovics/InstaSearch/
Require-Bundle: org.eclipse.ui;bundle-version="3.7.0",
org.apache.lucene;bundle-version="[2.9.1,2.9.2]",
org.apache.lucene.analysis;bundle-version="[2.9.1,2.9.2)",
org.apache.commons.httpclient,
org.apache.commons.lang,
org.eclipse.ui.ide,
org.eclipse.ui.editors,
org.eclipse.ui.workbench.texteditor,
org.eclipse.core.net,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.search,
Expand Down
Binary file removed instasearch/icons/update.gif
Binary file not shown.
9 changes: 0 additions & 9 deletions instasearch/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,6 @@
style="push"
tooltip="Open Plugin&apos;s Preferences">
</action>
<action
class="it.unibz.instasearch.actions.CheckUpdatesActionDelegate"
icon="icons/update.gif"
id="it.unibz.instasearch.actions.CheckUpdatesActionDelegate"
label="Check for Updates"
menubarPath="pulldown"
style="push"
tooltip="Check for Updates of the Plugin">
</action>
<action
class="it.unibz.instasearch.actions.DeleteIndexActionDelegate"
id="it.unibz.instasearch.actions.DeleteIndexActionDelegate"
Expand Down
28 changes: 1 addition & 27 deletions instasearch/src/it/unibz/instasearch/InstaSearchPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.util.List;

import org.apache.commons.lang.StringUtils;
import org.eclipse.core.net.proxy.IProxyService;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
Expand All @@ -32,7 +31,6 @@
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
import org.osgi.framework.Constants;
import org.osgi.util.tracker.ServiceTracker;

/**
* The activator class controls the plug-in life cycle
Expand All @@ -48,7 +46,6 @@ public final class InstaSearchPlugin extends AbstractUIPlugin {

private String indexDirLocation;
private InstaSearch instaSearch;
private ServiceTracker<IProxyService,IProxyService> proxyServiceTracker;
private boolean debug = false;

/**
Expand Down Expand Up @@ -216,23 +213,14 @@ public static String getHomePageLocation() {
return getBundleHeader(Constants.BUNDLE_DOCURL);
}

public static String getUpdateLocation() {

return getBundleHeader(Constants.BUNDLE_UPDATELOCATION);
}

public static String getErrorReportURL() {
return getBundleHeader("ErrorReportURL");
}

public static String getPluginName() {
return getBundleHeader(Constants.BUNDLE_NAME);
}

public static String getPluginId() {
return PLUGIN_ID;
}

public static String getVersion() {
return getBundleHeader(Constants.BUNDLE_VERSION);
}
Expand Down Expand Up @@ -320,20 +308,6 @@ public static void removePreferenceChangeListener(IPropertyChangeListener listen
plugin.getPreferenceStore().removePropertyChangeListener(listener);
}

public IProxyService getProxyService() {
try {
if (proxyServiceTracker == null) {
proxyServiceTracker = new ServiceTracker<IProxyService,IProxyService>(getBundle().getBundleContext(), IProxyService.class, null);
proxyServiceTracker.open();
}
return proxyServiceTracker.getService();
} catch (Exception e) {
InstaSearchPlugin.log(e);
}

return null;
}

private void configureDebug()
{
try {
Expand Down

This file was deleted.

Loading

0 comments on commit 0d7a3af

Please sign in to comment.