public class VProjectSourceContainer
extends java.lang.Object
Unlike other implementation of ISourceContainer
this class initially gets instantiated
with no data. In this state it serves as an empty container because actual VM scripts are
not available yet. Launch configuration UI will use it in this state more as a symbolic
place-holder in sources tab. Later when VM is connected, method
init(ISourceLookupDirector)
will be called and the actual content will be set.
Modifier and Type | Class and Description |
---|---|
static class |
VProjectSourceContainer.LookupResult
Result that
findSourceElements(String) returns instead of
IFile that other containers normally return. |
static class |
VProjectSourceContainer.TypeDelegate
A type delegate that implements a trivial memento.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
VmResourceId |
findScriptId(IFile resource) |
java.lang.Object[] |
findSourceElements(java.lang.String name) |
java.lang.Object |
getAdapter(java.lang.Class adapter) |
java.lang.String |
getName() |
ISourceContainer[] |
getSourceContainers() |
ISourceContainerType |
getType() |
void |
init(ISourceLookupDirector director) |
boolean |
isComposite() |
public void init(ISourceLookupDirector director)
public void dispose()
public java.lang.Object[] findSourceElements(java.lang.String name)
public java.lang.String getName()
public ISourceContainer[] getSourceContainers()
public ISourceContainerType getType()
public boolean isComposite()
public VmResourceId findScriptId(IFile resource)
public java.lang.Object getAdapter(java.lang.Class adapter)
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.