From 42e31f18dc2f34c6b0c427ca0a976ac795349864 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 10 Dec 2011 01:57:19 +0100 Subject: Eclipse plug-in updates for release 3.4.2.20111024 --- .../internal/IceClasspathContainer.java | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 eclipse/java/Slice2javaPlugin/src/com/zeroc/slice2javaplugin/internal/IceClasspathContainer.java (limited to 'eclipse/java/Slice2javaPlugin/src/com/zeroc/slice2javaplugin/internal/IceClasspathContainer.java') diff --git a/eclipse/java/Slice2javaPlugin/src/com/zeroc/slice2javaplugin/internal/IceClasspathContainer.java b/eclipse/java/Slice2javaPlugin/src/com/zeroc/slice2javaplugin/internal/IceClasspathContainer.java new file mode 100644 index 00000000000..915234c1304 --- /dev/null +++ b/eclipse/java/Slice2javaPlugin/src/com/zeroc/slice2javaplugin/internal/IceClasspathContainer.java @@ -0,0 +1,47 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2011 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_APPLICATION; + } + + public IPath getPath() + { + return _path; + } +} -- cgit v1.2.3