01: /**
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2006 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU General Public License as published by the
09: * Free Software Foundation; either version 2 of the License, or (at your option)
10: * any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15: * for more details.
16: *
17: * You should have received a copy of the GNU General Public License along with
18: * this program; if not, write to the Free Software Foundation, Inc.,
19: * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: *
21: *
22: * $Id$
23: */package com.bostechcorp.cbesb.ui.ide.classpath;
24:
25: import org.eclipse.core.runtime.IPath;
26: import org.eclipse.ui.plugin.AbstractUIPlugin;
27:
28: import com.bostechcorp.cbesb.ui.ide.Activator;
29:
30: /**
31: * @author LPS
32: *
33: */
34: public class CBCustomComponentClasspathContainer extends
35: AbstractClasspathContainer {
36: /** Description of the Field */
37: public final static String CLASSPATH_CONTAINER = ClassPathConstants.CLASSPATH_CONTAINER_PREFIX
38: + "." + CBCustomComponentClasspathContainer.SUFFIX;//$NON-NLS-1$
39:
40: /** Description of the Field */
41: final static String CLASSPATH_CONTAINER_NAME = "ChainBuilder Custom Component Library";
42:
43: public final static String DESCRIPTION = CLASSPATH_CONTAINER_NAME;
44:
45: /** Description of the Field */
46: public final static String SUFFIX = "custom_component";//"cb_jbi_sa";//$NON-NLS-1$
47:
48: public CBCustomComponentClasspathContainer(IPath path) {
49: super (path);
50: }
51:
52: /**
53: * Gets the description attribute of the CBESBCoreClasspathContainer object
54: *
55: * @return The description value
56: */
57: public String getDescription() {
58: return DESCRIPTION;
59: }
60:
61: /**
62: * Gets the libFolder attribute of the CBESBCoreClasspathContainer object
63: *
64: * @return The libFolder value
65: */
66: protected String getLibFolder() {
67: return SUFFIX;
68: }
69:
70: /**
71: * Gets the plugin attribute of the J2EE14ClasspathContainer object
72: *
73: * @return The plugin value
74: */
75: protected AbstractUIPlugin getPlugin() {
76:
77: return Activator.getDefault();
78: }
79:
80: }
|