Last change
on this file was
3,
checked in by zeiss, 15 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
654 bytes
|
Line | |
---|
1 | package de.ugoe.cs.swe.exercises.lectureevent; |
---|
2 | |
---|
3 | import org.eclipse.jface.viewers.IStructuredContentProvider; |
---|
4 | import org.eclipse.jface.viewers.Viewer; |
---|
5 | |
---|
6 | public class LectureEventContentProvider implements IStructuredContentProvider { |
---|
7 | |
---|
8 | LectureEvent lectureEvent = new LectureEvent(); |
---|
9 | //ArrayList<LectureEvent> lectureEvents = LectureEvent.all(); |
---|
10 | |
---|
11 | public void inputChanged(Viewer v, Object oldInput, Object newInput) { |
---|
12 | } |
---|
13 | |
---|
14 | public void dispose() { |
---|
15 | } |
---|
16 | |
---|
17 | @SuppressWarnings("static-access") |
---|
18 | public Object[] getElements(Object parent) { |
---|
19 | return lectureEvent.all().toArray(); |
---|
20 | } |
---|
21 | |
---|
22 | //public ArrayList<LectureEvent> getList() { |
---|
23 | // return lectureEvent; |
---|
24 | //} |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.