Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2003-04-02 23:28:30 -0500
committerAlain Magloire2003-04-02 23:28:30 -0500
commit34f18c1a07d087cc6ef92e0a234ef4d75caf3d9f (patch)
tree4d928831a6160b5a01bb4fa69c8858b2444dffb6
parenteac587f614b74ed0107d9bd157ba831f70ed5597 (diff)
downloadorg.eclipse.cdt-34f18c1a07d087cc6ef92e0a234ef4d75caf3d9f.tar.gz
org.eclipse.cdt-34f18c1a07d087cc6ef92e0a234ef4d75caf3d9f.tar.xz
org.eclipse.cdt-34f18c1a07d087cc6ef92e0a234ef4d75caf3d9f.zip
New class implements ILibraryReference
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReference.java49
1 files changed, 49 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReference.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReference.java
new file mode 100644
index 0000000000..c336e93e4b
--- /dev/null
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReference.java
@@ -0,0 +1,49 @@
+/*
+ * Created on Apr 2, 2003
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code Template
+ */
+package org.eclipse.cdt.internal.core.model;
+
+import org.eclipse.cdt.core.ICPathEntry;
+import org.eclipse.cdt.core.model.ICElement;
+import org.eclipse.cdt.core.model.ILibraryReference;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.IPath;
+
+/**
+ * @author alain
+ */
+public class LibraryReference extends Parent implements ILibraryReference {
+
+ ICPathEntry entry;
+ public LibraryReference(ICElement parent, String name, ICPathEntry e) {
+ super(parent, name, ICElement.C_VCONTAINER);
+ entry = e;
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.core.model.ICElement#getResource()
+ */
+ public IResource getResource() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.internal.core.model.CElement#createElementInfo()
+ */
+ protected CElementInfo createElementInfo() {
+ // TODO Auto-generated method stub
+ return new CElementInfo(this);
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.core.model.ICElement#getPath()
+ */
+ public IPath getPath() {
+ return entry.getPath();
+ }
+
+}

Back to the top