View Javadoc

1   /*
2    * $Id: OWLLibraryEditorPageThree.java,v 1.2 2005/05/31 21:57:12 jlerner Exp $
3    *
4    * Copyright (c) 1999-2004, BBN Technologies, LLC.
5    * All rights reserved.
6    * http://www.daml.org/legal/opensource/bbn_license.html
7    */
8    
9   package com.bbn.swede.ui.wizards;
10  
11  import org.eclipse.swt.widgets.Composite;
12  
13  import com.bbn.swede.core.libraries.ILibraryDescriptor;
14  
15  /***
16   * This page is almost exactly like its parent; it adds a method to 
17   * pre-load the data when it already exists.
18   * 
19   * @author aperezlo
20   */
21  public class OWLLibraryEditorPageThree extends OWLLibraryBuilderPageThree
22  {
23     private ILibraryDescriptor _library;
24  
25     /***
26      * Creates a page to edit an existing library.
27      * @param ild The descriptor of the library to edit
28      */
29     public OWLLibraryEditorPageThree(ILibraryDescriptor ild)
30     {
31        _library = ild;
32     }
33     
34     /*
35      *  (non-Javadoc)
36      * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
37      */
38     public void createControl(Composite parent)
39     {
40        _properties = _library.getConfiguration().getUserProperties();
41        super.createControl(parent);
42     }
43  
44  }