Skip to main content
summaryrefslogtreecommitdiffstats
blob: ca0f84bf656ce5f61cb83adbb85f9bc9a00be91d (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
28
29
30
31
/*******************************************************************************
 * Copyright (c) 2011 Tasktop Technologies and others.
 * 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:
 *     Tasktop Technologies - initial API and implementation
 *******************************************************************************/

package org.eclipse.mylyn.commons.identity.spi;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.mylyn.commons.identity.IIdentity;

/**
 * @author Steffen Pingel
 * @since 0.8
 */
public abstract class IdentityConnector {

	public abstract ProfileImage getImage(IIdentity identity, int preferredWidth, int preferredHeight,
			IProgressMonitor monitor) throws CoreException;

	public abstract boolean supportsImageSize(int preferredWidth, int preferredHeight);

	public abstract void updateProfile(Profile profile, IProgressMonitor monitor) throws CoreException;

}

Back to the top