Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d77193c1a6ad00510b04c6e30acd07e73d5838c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*******************************************************************************
 * Copyright (c) 2018 Remain Software
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     wim.jongman@remainsoftware.com - initial API and implementation
 *******************************************************************************/
package org.eclipse.tips.examples.json;

import java.net.MalformedURLException;

import org.eclipse.tips.json.JsonTipProvider;

public class JsonTipProviderPhoton extends JsonTipProvider {

	public JsonTipProviderPhoton() throws MalformedURLException {
		setJsonUrl("https://raw.githubusercontent.com/wimjongman/jsontips/master/photon/m3tips.json");
	}

	@Override
	public String getID() {
		return getClass().getName();
	}
}

Back to the top