User Tools

Site Tools


en:configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:configuration [2019/09/22 15:24]
roehner [Options]
en:configuration [2020/07/26 16:29] (current)
roehner [Colors]
Line 106: Line 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}}
Line 112: Line 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.
Line 314: Line 317:
   *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
Line 320: Line 324:
   *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
Line 336: Line 339:
   *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.1569158692.txt.gz · Last modified: 2019/09/22 15:24 by roehner