Ignore:
Timestamp:
02/03/06 17:17:47 (19 years ago)
Author:
boris
Message:
  • added a 'parent package' field to new package dialog and implemented infrastructure to be animate it among others:
  • IModelicaProject.getPackageRoots() method to fetch all top level package in a project
  • IModelicaProject.getPackage() method to fetch a package by its full name
  • IModelicaProject.findElement() method to fetch project's elements by path
  • modelica source files are now wraped by IModelicaSourceFile
  • plain files are now wraped by IModelicaFile inside a modelica project
  • an abstract wizard page superclass NewTypePage? added wich implemets source and parent package fields which are used in createing new classes/packages
  • some other stuff i forgot about, this kinda got out of hand, smaller commits in the future !
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.ui/src/org/modelica/mdt/ui/view/ProjectsView.java

    r286 r288  
    22 * This file is part of Modelica Development Tooling.
    33 *
    4  * Copyright (c) 2005, Linköpings universitet, Department of
     4 * Copyright (c) 2005, Linkpings universitet, Department of
    55 * Computer and Information Science, PELAB
    66 *
     
    2323 *   distribution.
    2424 *
    25  * * Neither the name of Linköpings universitet nor the names of its
     25 * * Neither the name of Linkpings universitet nor the names of its
    2626 *   contributors may be used to endorse or promote products derived from
    2727 *   this software without specific prior written permission.
     
    8282import org.modelica.mdt.ui.ModelicaElementContentProvider;
    8383import org.modelica.mdt.ui.ModelicaElementSorter;
     84import org.modelica.mdt.ui.UIPlugin;
    8485import org.modelica.mdt.ui.editor.EditorUtility;
    8586import org.modelica.mdt.internal.core.ErrorManager;
    86 import org.modelica.mdt.internal.core.CorePlugin;
    8787
    8888public class ProjectsView extends ViewPart
     
    114114        viewer.setInput(ModelicaCore.getModelicaRoot());
    115115        viewer.setSorter(new ModelicaElementSorter());
    116         CorePlugin.tag(viewer.getTree(), TREE_TAG);
     116        UIPlugin.tag(viewer.getTree(), TREE_TAG);
    117117
    118118        viewer.addSelectionChangedListener(new ISelectionChangedListener() {
Note: See TracChangeset for help on using the changeset viewer.