-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enables multiple experimental group addition (#328)
* Save current work progress * Save work * Save work * Enable addition of multiple experimental groups * Reload experimental groups after registration * Enable experimental group edit * Save current work * Save the day * Finish styling * Clean up * More cleanup work * rename methods, extract methods Co-authored-by: steffengreiner <[email protected]> * Add all experimental groups or none Co-authored-by: steffengreiner <[email protected]> * rename method Co-authored-by: steffengreiner <[email protected]> * Exchange group input by existing component * address code review Co-authored-by: steffengreiner <[email protected]> * Add JavaDoc Co-authored-by: steffengreiner <[email protected]> * rename method Co-authored-by: steffengreiner <[email protected]> * address review * address review * remove duplicate css, group css selectors Co-authored-by: steffengreiner <[email protected]> * remove unused css Co-authored-by: steffengreiner <[email protected]> --------- Co-authored-by: Tobias Koch <[email protected]> Co-authored-by: steffengreiner <[email protected]>
- Loading branch information
1 parent
8c521f4
commit bb93893
Showing
14 changed files
with
659 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
vaadinfrontend/src/main/java/life/qbic/datamanager/views/general/AddEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package life.qbic.datamanager.views.general; | ||
|
||
import com.vaadin.flow.component.Component; | ||
import com.vaadin.flow.component.ComponentEvent; | ||
import java.io.Serial; | ||
|
||
/** | ||
* <b>Add event</b> | ||
* <p> | ||
* Indicates that a user wants to add information to a component | ||
* | ||
* @since 1.0.0 | ||
*/ | ||
public class AddEvent<T extends Component> extends ComponentEvent<T> { | ||
|
||
@Serial | ||
private static final long serialVersionUID = 9114334039868158765L; | ||
|
||
/** | ||
* Creates a new event using the given source and indicator whether the event originated from the | ||
* client side or the server side. | ||
* | ||
* @param source the source component | ||
* @param fromClient <code>true</code> if the event originated from the client | ||
* side, <code>false</code> otherwise | ||
*/ | ||
public AddEvent(T source, boolean fromClient) { | ||
super(source, fromClient); | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
vaadinfrontend/src/main/java/life/qbic/datamanager/views/general/EditEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package life.qbic.datamanager.views.general; | ||
|
||
|
||
import com.vaadin.flow.component.Component; | ||
import com.vaadin.flow.component.ComponentEvent; | ||
import java.io.Serial; | ||
|
||
/** | ||
* <b>Edit Event</b> | ||
* | ||
* <p>Indicates that a user wants to edit information in a component.</p> | ||
* | ||
* @since 1.0.0 | ||
*/ | ||
public class EditEvent<T extends Component> extends ComponentEvent<T> { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -1033061739347133861L; | ||
|
||
/** | ||
* Creates a new event using the given source and indicator whether the event originated from the | ||
* client side or the server side. | ||
* | ||
* @param source the source component | ||
* @param fromClient <code>true</code> if the event originated from the client | ||
* side, <code>false</code> otherwise | ||
*/ | ||
public EditEvent(T source, boolean fromClient) { | ||
super(source, fromClient); | ||
} | ||
} |
Oops, something went wrong.