Skip to content

Commit

Permalink
Temporary workaround for smallrye/jandex#289
Browse files Browse the repository at this point in the history
  • Loading branch information
mvilliger committed Dec 2, 2022
1 parent 9a930ee commit ecf4d63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Copyright (c) 2015 BSI Business Systems Integration AG.
* Copyright (c) 2022 BSI Business Systems Integration AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.html
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Contributors:
* BSI Business Systems Integration AG - initial API and implementation
Expand Down Expand Up @@ -66,14 +66,14 @@ protected void execDefaultView() {
// outline buttons of the application
@Order(1)
@ClassId("9405937b-66e8-491a-831d-69adca724b90")
public class ContactOutlineViewButton extends AbstractOutlineViewButton {
public class ContactsOutlineViewButton extends AbstractOutlineViewButton {
//end::DesktopInit[]

public ContactOutlineViewButton() {
public ContactsOutlineViewButton() {
this(ContactOutline.class);
}

protected ContactOutlineViewButton(Class<? extends ContactOutline> outlineClass) {
protected ContactsOutlineViewButton(Class<? extends ContactOutline> outlineClass) {
super(Desktop.this, outlineClass);
}

Expand Down
2 changes: 1 addition & 1 deletion docs/build/one_day_tutorial/src/docs/_TutorialStep1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Then, perform the following changes in class `Desktop`

* Delete the inner class `SettingOutlineViewButton`
* Delete the inner class `UserProfileMenu`.
* Rename inner class WorkOutlineViewButton to `ContactOutlineViewButton`
* Rename inner class WorkOutlineViewButton to `ContactsOutlineViewButton`
* Create a new inner class called `QuickAccessMenu` after the `SearchOutlineViewButton`.
For this navigate the cursor after the `SearchOutlineViewButton` class, press kbd:[Ctrl+Space] and select the `Menu` entry.
Adapt the created code until it matches the template as shown in <<lst-contacts_desktop>>.
Expand Down

0 comments on commit ecf4d63

Please # to comment.