en:configuration
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:configuration [2019/07/27 14:39] – [Structogram] roehner | en:configuration [2023/02/25 19:57] (aktuell) – [Language] roehner | ||
---|---|---|---|
Zeile 106: | Zeile 106: | ||
==== Colors ==== | ==== Colors ==== | ||
- | With this page you configure the colors for syntax-highlighting of Java and HTML files as well as structure lines and pairs of brackets. | + | You can choose a GUI style and combine it with an editor style. Before |
+ | |||
+ | Also you can configure the colors for syntax-highlighting of Java and HTML files as well as structure lines and pairs of brackets. | ||
{{: | {{: | ||
Zeile 112: | Zeile 114: | ||
If you select a syntax element on the left side its current foreground and background color and text attributes are shown. Change them as requested with the left button for the foreground and the right one for the background color. The //Default// button sets the default colors and text attributes. | If you select a syntax element on the left side its current foreground and background color and text attributes are shown. Change them as requested with the left button for the foreground and the right one for the background color. The //Default// button sets the default colors and text attributes. | ||
+ | The GUI and editor styles are located in files in the styles folder of the Java editor. Additional editor styles can be defined in the files DefaultColorsJava.ini and DefaultColorsHTML.ini. | ||
==== Comment ==== | ==== Comment ==== | ||
Every new java source file has an introductory comment. | Every new java source file has an introductory comment. | ||
Zeile 150: | Zeile 153: | ||
{{: | {{: | ||
- | ===== Sequenzdiagramme===== | + | ===== Sequence diagrams |
- | Lebenslinien erhalten die Bezeichnung | + | Lifelines are named //Object// with an attached number. |
- | //Neu// und //Schliessen// sind die Nachrichten zum Erzeugen bzw. Schliessen einer Lebenslinie. | + | //New// and //Close// are the messages for creating or closing a lifeline. |
+ | In addition to the method name, the messages to a lifeline can also contain the // | ||
- | Die Nachrichten an eine Lebenslinie können außer dem Methodennamen zusätzlich die // | + | {{:en:sequencediagramconfen.png}} |
- | + | ||
- | {{:de:sequenzdiagrammconfde.png}} | + | |
Zeile 172: | Zeile 174: | ||
The java manual doesn' | The java manual doesn' | ||
- | The original | + | The original |
- | For direct online access to the java documentation | + | As a makeshift, |
+ | Use http addresses like https://docs.oracle.com/en/java/javase/19/ | ||
{{: | {{: | ||
Zeile 187: | Zeile 190: | ||
The //Cache// folder is used if you use direct http access to the java documentation. | The //Cache// folder is used if you use direct http access to the java documentation. | ||
- | //Search again// is used for the search in the original java documentation. | + | //Search again// is used for the search in the original java documentation |
+ | . | ||
===== Printer ===== | ===== Printer ===== | ||
Zeile 200: | Zeile 204: | ||
%DATE% | %DATE% | ||
%TIME% | %TIME% | ||
- | %PAGE% | + | %PAGENUM% |
- | %PAGENUMBER% the total number of print pages | + | %PAGECOUNT% the total number of print pages |
===== Mindstorms ===== | ===== Mindstorms ===== | ||
Zeile 261: | Zeile 265: | ||
This page is for configuring miscellaneous settings. | This page is for configuring miscellaneous settings. | ||
- | *Deactivate DOS-Window - some teachers don't want that pupils can open a DOS-Window, this setting is therefore protected | ||
- | *Show components-toolbar - handicapped persons, who can not use a mouse, don't need then components toolbar, they use the component menu instead | ||
- | *Show borderLayout-toolbar - the borderLayout toolbar is only necessary if you want to use a layout manager to create a gui form | ||
- | *Show component-menu - handicapped persons, who can not use a mouse, can use the component menu to create a gui form | ||
*Load files when starting - load last open files at program start | *Load files when starting - load last open files at program start | ||
- | *Close console-window | + | *Check external changes of files - Checks if downloaded files have been changed by external programs |
+ | *Save as renames class - if you save a class with a new file name, the name of the class changes accordingly | ||
+ | *Create bak-files when saving - create a backup file when saving a file | ||
+ | *Name GUI-components after attribut " | ||
+ | *use interpreter window as console | ||
+ | *use batch file runjava.bat to start console programs | ||
+ | {{: | ||
+ | *Accept defaultname during saving | ||
+ | *Strict java in interactive windows - Instructions must be entered in interactive mode with a closing semicolon. | ||
+ | *Show hints permanently in GUI designer - Display information about GUI components when moving over them with the mouse. | ||
*Log debugger - log the debugger output to a text file | *Log debugger - log the debugger output to a text file | ||
- | *Save as renames class - if you save a class with a new filename, | + | *Translate compiler errors |
- | + | ||
- | {{: | + | |
- | + | ||
- | *Start programs without console-window | + | |
- | *Start programs independent from Java-Editor - reduces cpu-load while running java-programs, | + | |
- | *Remove write protection automatically - in case of saving a file | + | |
- | *Create bak-files when saving - create a backup file when saving a file | + | |
- | *Link java-files with Java-Editor - java files are opened with the Java-Editor (needs administrative rights) | + | |
- | *Open message-window automatically - if an error occurs during compilation | + | |
- | *Save files automatically - if not selected always use the save as dialog | + | |
- | *Show file-tabs in multiline - if you open a lot of files the file-tabs are arranged in multiple lines | + | |
- | *Codepage for console programs- set the codepage if console programs shall show country specific characters (German: 850) | ||
*Additional file filters - the open dialog shows also files witch match the additional file filters | *Additional file filters - the open dialog shows also files witch match the additional file filters | ||
*Font-size in component bar - set the desired font-size for the component bar, default font size is 9 | *Font-size in component bar - set the desired font-size for the component bar, default font size is 9 | ||
Zeile 322: | Zeile 319: | ||
*start with datatype - UML compliant a parameter begins with the name followed by the data type. In Java the data type precedes the name of the parameter. | *start with datatype - UML compliant a parameter begins with the name followed by the data type. In Java the data type precedes the name of the parameter. | ||
*show constructors with visibility - constructors can be represented by a C or by visibility as with methods | *show constructors with visibility - constructors can be represented by a C or by visibility as with methods | ||
+ | *relationship attributes bold - in class relations the relationship attributes are given in bold | ||
*show class parameters separately - for a parameterized class the parameter can be displayed in the top right-hand corner | *show class parameters separately - for a parameterized class the parameter can be displayed in the top right-hand corner | ||
*role hides attribute - role names of a class relationship can hide attributes with the same name | *role hides attribute - role names of a class relationship can hide attributes with the same name | ||
Zeile 328: | Zeile 326: | ||
*show objects with inherited private attributes - for objects inherited private attributes are also displayed with their values | *show objects with inherited private attributes - for objects inherited private attributes are also displayed with their values | ||
*show objects with methods - normally you only represent objects with their attributes and attribute values | *show objects with methods - normally you only represent objects with their attributes and attribute values | ||
- | *relationship attributes bold - in class relations the relationship attributes are given in bold | ||
*start object names with lower case letter - automatically generated object names begin with lowercase letters | *start object names with lower case letter - automatically generated object names begin with lowercase letters | ||
*show all new objects - if a constructor or a method is called all new objects created in the process can be displayed automatically | *show all new objects - if a constructor or a method is called all new objects created in the process can be displayed automatically | ||
Zeile 344: | Zeile 341: | ||
*show function values in interpreter window - or in a separate function value window | *show function values in interpreter window - or in a separate function value window | ||
+ | **Type binding** | ||
+ | |||
+ | A generic class has a type parameter which can be displayed separately in the right upper corner. You can add a type binding to this type parameter by double clicking it. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | In this example // | ||
+ | |||
+ | | ||
===== Visibility ===== | ===== Visibility ===== |
en/configuration.txt · Zuletzt geändert: 2023/02/25 19:57 von roehner