|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IImportStructureProvider
Interface which can provide structure and content information for an element (for example, a file system element). Used by the import wizards to abstract the commonalities between importing from the file system and importing from an archive.
| Method Summary | |
|---|---|
java.util.List |
getChildren(java.lang.Object element)
Returns a collection with the children of the specified structured element. |
java.io.InputStream |
getContents(java.lang.Object element)
Returns the contents of the specified structured element, or null if there is a problem determining the element's
contents. |
java.lang.String |
getFullPath(java.lang.Object element)
Returns the full path of the specified structured element. |
java.lang.String |
getLabel(java.lang.Object element)
Returns the display label of the specified structured element. |
boolean |
isFolder(java.lang.Object element)
Returns a boolean indicating whether the passed structured element represents a container element (as opposed to a leaf element). |
| Method Detail |
|---|
java.util.List getChildren(java.lang.Object element)
element - the element for which to compute the children
java.io.InputStream getContents(java.lang.Object element)
null if there is a problem determining the element's
contents.
Note:: The client is responsible for closing the stream when finished.
element - a structured element
nulljava.lang.String getFullPath(java.lang.Object element)
element - a structured element
java.lang.String getLabel(java.lang.Object element)
element - a structured element
boolean isFolder(java.lang.Object element)
element - java.lang.Object
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.