- Timestamp:
- 10/25/05 12:15:50 (19 years ago)
- Location:
- trunk/org.modelica.mdt/src/org/modelica/mdt/ui
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt/src/org/modelica/mdt/ui/ModelicaElementContentProvider.java
r88 r89 40 40 */ 41 41 42 package org.modelica.mdt ;42 package org.modelica.mdt.ui; 43 43 44 44 import org.eclipse.core.resources.IContainer; … … 48 48 import org.eclipse.jface.viewers.ITreeContentProvider; 49 49 import org.eclipse.jface.viewers.Viewer; 50 import org.modelica.mdt.MdtPlugin; 50 51 import org.modelica.mdt.core.IModelicaProject; 51 52 import org.modelica.mdt.core.IModelicaRoot; … … 78 79 public void dispose() 79 80 { 80 System.out.println("disposed " + ModelicaElementContentProvider.class);81 81 } 82 82 83 83 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) 84 84 { 85 System.out.println("input changed " + ModelicaElementContentProvider.class);86 85 } 87 86 … … 106 105 else if (parent instanceof IParent) 107 106 { 108 System.out.println("get children of " + parent); 109 Object[] ch = ((IParent)parent).getChildren(); 110 for (Object ob : ch) 111 { 112 System.out.println("got " + ob.getClass()); 113 } 114 115 return ch; 116 //return ((IParent)parent).getChildren(); 107 return ((IParent)parent).getChildren(); 117 108 } 118 109 return null; … … 121 112 public Object getParent(Object element) 122 113 { 123 System.out.println("get parent " + ModelicaElementContentProvider.class);124 114 return null; 125 115 }
Note: See TracChangeset
for help on using the changeset viewer.