|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISource
Method Summary | |
---|---|
void |
checkType(java.lang.String absoluteName)
Causes a propagation of a type from the source to the UML2 model (if it doesn't already exist there). |
org.eclipse.core.resources.IFile |
getClassifierFromSource(java.lang.String absoluteName)
Checks if the given classifier exists in the source code. |
org.eclipse.core.resources.IFolder |
getPackageFromSource(java.lang.String absoluteName)
Checks if the given package exists in the source code. |
boolean |
isStringType(java.lang.String absoluteName)
Checks if the given absolute name of a type corresponds to the a String in this language (e.g. java.lang.String in Java). |
java.util.List<ITypeContentProposal> |
resolveType(java.lang.String contents,
int position)
Searches for possible resolutions of the given String to a type name that is in the projects classpath. |
boolean |
typeExists(java.lang.String absoluteName)
Checks whether a type exists in the source code or included libraries. |
Method Detail |
---|
org.eclipse.core.resources.IFolder getPackageFromSource(java.lang.String absoluteName)
absoluteName
- The absolute name if the package..
org.eclipse.core.resources.IFile getClassifierFromSource(java.lang.String absoluteName)
absoluteName
- The absolute name if the classifier.
void checkType(java.lang.String absoluteName)
absoluteName
- The absolute name of the type that should be propagated to the
UML2 model.boolean typeExists(java.lang.String absoluteName)
absoluteName
- The type that should be tested.
java.util.List<ITypeContentProposal> resolveType(java.lang.String contents, int position)
contents
- The beginning of a type name.position
- The current cursor position in the String.
boolean isStringType(java.lang.String absoluteName)
absoluteName
- Absolute name of a type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |