summaryrefslogtreecommitdiff
path: root/eclipse/Slice2javaPlugin/src/com/zeroc/slice2javaplugin/internal/IceClasspathContainer.java
blob: 31bdf0600546295e1358f6f3fdabbc867bbc082c (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This plug-in is provided to you under the terms and conditions
// of the Eclipse Public License Version 1.0 ("EPL"). A copy of
// the EPL is available at http://www.eclipse.org/legal/epl-v10.html.
//
// **********************************************************************

package com.zeroc.slice2javaplugin.internal;

import org.eclipse.core.runtime.IPath;
import org.eclipse.jdt.core.IClasspathContainer;
import org.eclipse.jdt.core.IClasspathEntry;

public class IceClasspathContainer implements IClasspathContainer
{
    private IClasspathEntry[] _cpEntry;
    private IPath _path;

    IceClasspathContainer(IClasspathEntry[] entries, IPath path)
    {
        _cpEntry = entries;
        _path = path;
    }

    public IClasspathEntry[] getClasspathEntries()
    {
        return _cpEntry;
    }

    public String getDescription()
    {
        return "Ice Library";
    }

    public int getKind()
    {
        return IClasspathContainer.K_DEFAULT_SYSTEM;
    }

    public IPath getPath()
    {
        return _path;
    }
}