Diese Funktionalität ist nur in bestimmten Ausbaustufen verfügbar.

addInstance

Fügt eine neue Projektkomponente hinzu.

addInstance(String parentAbsPath, String classAbsPath, String placeholderAbsPath, String instanceName, boolean isExtensionPlaced)
Argument String parentAbsPath Absoluter Pfad zur übergeordneten Projektkomponente.
String classAbsPath Absoluter Pfad zur Bibliothekskomponente, die zu instanziieren ist.
String placeholderAbsPath Absoluter Pfad zum Einfügeplatz.
String instanceName Neuer Name der Projektkomponente.
boolean isExtensionPlaced true = wenn Projektkomponente auf einem Einfügeplatz einzufügen ist.
false = wenn Projektkomponente nicht auf einem Einfügeplatz einzufügen ist.
Rückgabewert void