Editable Sections of a C/C++ Service
You can modify the following sections of the C/C++ service:
imports, where you can specify the names of additional Java packages whose classes you want to make available to the current class.
Note: | By default, Designer adds some required imports that you cannot delete. Although you can remove the imports in the C/C++ service editor, Designer adds the required imports back when you save the service. |
extends, where you can specify a super class for the implementation.
implements, where you can specify the Java interfaces that the C/C++ service implements.
Note: | You cannot enter or paste special characters including '{' in the extends or implements section of a C/C++ service. |
source code, where you add the code for the primary C/C++ service method.
shared code, where you can specify declarations, methods, etc. that will be shared by all services in the current folder.
Note: | The shared code section of the C/C++ service editor contains the code that loads the library that contains the C/C++ program. |
The toolbar and icons that the Source tab uses are the same as the buttons and icons used in the standard Eclipse Java editor. For a description, see the Eclipse Java Development User Guide.