Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Athen Athen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kallimachos
  • AthenAthen
  • Wiki
  • athen how to correctly write your own view

athen how to correctly write your own view · Changes

Page history
Update athen how to correctly write your own view authored May 15, 2017 by Markus Krug's avatar Markus Krug
Hide whitespace changes
Inline Side-by-side
athen---how-to-correctly-write-your-own-view.md
View page @ b5bbae2f
......@@ -120,7 +120,7 @@ The snippet shows the implementation of the UI element, let us elaborate it a bi
public class CorefViewComposite extends Composite {
```
Then we got the fields that are stored in this view. As you can see, there is a reference to the controller object. The next three variables present new Composites (aka UI parts) themselfes. Separating them in this way keeps the code clean, as well as it helps you to have an easy understanding of the layout in which those elements are arranged (it is very easy to order three elements, managing all at once is extremely difficult sometimes)
Then we got the fields that are stored in this view. As you can see, there is a reference to the controller object. The next three variables present new Composites (aka UI parts) themselfes. Separating them in this way keeps the code clean, as well as it helps you to have an easy understanding of the layout in which those elements are arranged (it is very easy to order three elements, managing all at once is extremely difficult sometimes). In this view we got three sub-composites. If you go back to the image of the result, the first is the block with all the buttons. The second one contains just two checkboxes. And the last one contains the table and its header.
```java
private CorefView part;
......
Clone repository
  • ATHEN how to integrate your own view
  • athen editorevents
  • athen how to correctly write your own view
  • athen how to start as a developer
  • athen introduction to the texteditor
  • athen writing your own view
  • athen core concepts
  • athen how to`s
  • athen writing your own view in html
    • css
      • jscript
  • developer handbook
  • Home