blob: 5e366d45ffc26d69507213ce095a7f739b8312fe [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2010 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.internal.p2.ui.model;
import java.util.Collection;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.equinox.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.p2.metadata.IRequirement;
/**
* Interface for elements that represent IU's.
*
* @since 3.4
*/
public interface IIUElement {
public IInstallableUnit getIU();
public boolean shouldShowSize();
public boolean shouldShowVersion();
public long getSize();
public void computeSize(IProgressMonitor monitor);
public Collection<IRequirement> getRequirements();
public Object getParent(Object obj);
public boolean shouldShowChildren();
}