Add javaDoc, remove unused method parameter
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
@@ -63,10 +63,8 @@ import com.vaadin.ui.Window;
|
|||||||
import com.vaadin.ui.themes.ValoTheme;
|
import com.vaadin.ui.themes.ValoTheme;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* Table pop-up-windows including a minimize and close icon in the upper right
|
* Table pop-up-windows including a minimize and close icon in the upper right
|
||||||
* corner and a save and cancel button at the bottom. Is not intended to reuse.
|
* corner and a save and cancel button at the bottom. Is not intended to reuse.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class CommonDialogWindow extends Window {
|
public class CommonDialogWindow extends Window {
|
||||||
|
|
||||||
@@ -109,8 +107,6 @@ public class CommonDialogWindow extends Window {
|
|||||||
* the content
|
* the content
|
||||||
* @param helpLink
|
* @param helpLink
|
||||||
* the helpLinks
|
* the helpLinks
|
||||||
* @param saveButtonClickListener
|
|
||||||
* the saveButtonClickListener
|
|
||||||
* @param cancelButtonClickListener
|
* @param cancelButtonClickListener
|
||||||
* the cancelButtonClickListener
|
* the cancelButtonClickListener
|
||||||
* @param layout
|
* @param layout
|
||||||
@@ -130,6 +126,11 @@ public class CommonDialogWindow extends Window {
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the close Listener
|
||||||
|
*
|
||||||
|
* @param closeListener
|
||||||
|
*/
|
||||||
public void setSaveDialogCloseListener(final SaveDialogCloseListener closeListener) {
|
public void setSaveDialogCloseListener(final SaveDialogCloseListener closeListener) {
|
||||||
this.closeListener = closeListener;
|
this.closeListener = closeListener;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ import com.vaadin.ui.CustomComponent;
|
|||||||
import com.vaadin.ui.FormLayout;
|
import com.vaadin.ui.FormLayout;
|
||||||
import com.vaadin.ui.TextArea;
|
import com.vaadin.ui.TextArea;
|
||||||
import com.vaadin.ui.TextField;
|
import com.vaadin.ui.TextField;
|
||||||
import com.vaadin.ui.UI;
|
|
||||||
import com.vaadin.ui.Window;
|
import com.vaadin.ui.Window;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -161,7 +160,7 @@ public class TargetAddUpdateWindowLayout extends CustomComponent {
|
|||||||
if (editTarget) {
|
if (editTarget) {
|
||||||
updateTarget();
|
updateTarget();
|
||||||
} else {
|
} else {
|
||||||
UI.getCurrent().access(() -> addNewTarget());
|
addNewTarget();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user