View Javadoc

1   /*
2    * $Id: IOWLFolder.java,v 1.7 2005/06/01 17:38:38 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.core;
10  
11  import org.eclipse.core.resources.IContainer;
12  import org.eclipse.core.resources.IFolder;
13  
14  /***
15   * Protocol specific to OWL folder elements.
16   * @author jlerner
17   * @author tself
18   */
19  public interface IOWLFolder extends IOWLElement
20  {
21     /***
22      * Returns the Eclipse folder resource that is the basis for this OWL folder.
23      * @return The folder's inner IFolder
24      */
25     IFolder getFolder();
26  
27     /***
28      * <p>Returns the Eclipse folder resource that is the basis for this OWL folder,
29      * cast as an IContainer.</p>
30      *
31      * <p>This is a convenience method, fully equivalent to:
32      * <blockquote>(IContainer)getFolder()</blockquote></p>
33      * @return The folder's inner IFolder, cast as an IContainer.
34      */
35     IContainer getContainer();
36  }