Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:configuration

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
en:configuration [2019/07/27 14:39] – [Structogram] roehneren: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 you select styles, you should open a Java source file, because you can then see the styles live when you switch. 
 + 
 +Also you can configure the colors for syntax-highlighting of Java and HTML files as well as structure lines and pairs of brackets.
  
 {{:en:colorsen.png}} {{:en:colorsen.png}}
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:
 {{:en:structogramconfen.png}} {{:en:structogramconfen.png}}
  
-===== Sequenzdiagramme===== +===== Sequence diagrams ===== 
-Lebenslinien erhalten die Bezeichnung //Objekt// mit einer angehängten Nummer+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 //parameter// or the //return value// if the sequence diagram is generated using the debugger or a UML window.
  
-Die Nachrichten an eine Lebenslinie können außer dem Methodennamen zusätzlich die //Parameter// enthalten bzw. den //Rückgabewert//, sofern das Sequenzdiagram mit Hilfe des Debuggers oder eines UML-Fenster erzeugt wird. +{{:en:sequencediagramconfen.png}}
- +
-{{:de:sequenzdiagrammconfde.png}}+
  
  
Zeile 172: Zeile 174:
 The java manual doesn't belong to the JDK, so you have to install it additionally. The installed java manual gives you easy access to the api documentation. Type the F1 key to get documentation to the text the cursor is on. The documentation is also needed for code completion and parameter hints. The java manual doesn't belong to the JDK, so you have to install it additionally. The installed java manual gives you easy access to the api documentation. Type the F1 key to get documentation to the text the cursor is on. The documentation is also needed for code completion and parameter hints.
  
-The original http://www.oracle.com/technetwork/java/javase/downloads/ java documentation from Sun] contains more than 300 MB in about 13000 files. You can get the documentation in just one chm file of just 50 MB from https://javadoc.allimant.org/. Select //chm// from the manual combobox, than you can download and install this chm file with the //Install// button. Using the chm documentation is especially recommended if you use the Java-Editor as portable software from an usb stick. Check wether it is possible to open the chm-file with doubleclick from windows desktop. If necessary you have to allow to open the chm-file.+The original [[https://www.oracle.com/java/technologies/javase-jdk19-doc-downloads.html |JDK 19 documentation from Oracle]] contains more than 250 MB in about 10000 files. You can get the documentation in just one chm file of just 50 MB from https://javadoc.allimant.org/, but only up to version 8. Select //chm// from the manual combobox, than you can download and install this chm file with the //Install// button. Using the chm documentation is especially recommended if you use the Java-Editor as portable software from an usb stick. Check wether it is possible to open the chm-file with doubleclick from windows desktop. If necessary you have to allow to open the chm-file.
  
-For direct online access to the java documentation you can use http addresses like http://download.oracle.com/javase/7/docs/api/index.html. In this case the used documentation files are cached, that means locally saved.+As a makeshift, direct online access to the API documentation can be configured without any installation. 
 +Use http addresses like https://docs.oracle.com/en/java/javase/19/docs/api/index.html. In this case the used documentation files are cached, that means locally saved.
  
 {{:en:documentationen.png}} {{:en:documentationen.png}}
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%   the print date   %DATE%   the print date
   %TIME%   the print time   %TIME%   the print time
-  %PAGE  the number of the print page +  %PAGENUM    the number of the print page 
-  %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 manually close console programs automatically or manually+  *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 "Text" - If you change the Text attribute in the Object Inspector, the name of the GUI component will be set accordingly 
 +  *use interpreter window as console (not for JavaFX) The input / output takes place in the interpreter window of the Java-Editor, not in a separate console window 
 +  *use batch file runjava.bat to start console programs - By default, the batch file RunJava.bat is used, which has a PAUSE command at the end, so you can view the output on the console. If the use of batch files is disabled, disable this setting and exit your console program with an InOut.readln(); 
 +{{:en:optionsen.png}} 
 +  *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, the class name is renamed as well +  *Translate compiler errors In the editor window, the marks indicate translated texts for compiler errors.
- +
-{{:en:optionsen.png}} +
- +
-  *Start programs without console-window - without check of console or GUI-programrun java-programs always without console-window +
-  *Start programs independent from Java-Editor - reduces cpu-load while running java-programs, output to console will not be shown +
-  *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.
 +
 +{{:en:typebinding.png}}
 +
 +In this example //ContentType// is the type parameter and //Athlet// the type binding.
 +
 +  
  
 ===== Visibility ===== ===== Visibility =====
en/configuration.1564231174.txt.gz · Zuletzt geändert: 2019/07/27 14:39 von roehner