Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Klassen werden nicht mehr verwendet also gelöscht

  • Loading branch information...
commit 7f1c7be6b189fbc80ce6d5cfef407ae7c11d35c9 1 parent 2f59e31
daniel dengler authored
View
1  ...ain/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/direkt/DirektPresenter.java
@@ -14,7 +14,6 @@
import com.mvplite.event.EventBus;
import com.mvplite.event.EventHandler;
-import com.vaadin.event.FieldEvents.TextChangeEvent;
import dhbw.ka.mwi.businesshorizon2.models.Period.CashFlowPeriod;
import dhbw.ka.mwi.businesshorizon2.ui.process.ScreenPresenter;
View
11 ...main/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/direkt/DirektViewImpl.java
@@ -1,7 +1,5 @@
package dhbw.ka.mwi.businesshorizon2.ui.process.period.input.direkt;
-import java.util.Arrays;
-
import javax.annotation.PostConstruct;
import org.apache.log4j.Logger;
@@ -9,21 +7,12 @@
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
-import com.vaadin.data.util.BeanItem;
-import com.vaadin.event.FieldEvents.TextChangeEvent;
-import com.vaadin.event.FieldEvents.TextChangeListener;
import com.vaadin.terminal.UserError;
-import com.vaadin.ui.Button;
import com.vaadin.ui.AbstractTextField.TextChangeEventMode;
-import com.vaadin.ui.Button.ClickEvent;
-import com.vaadin.ui.Form;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.TextField;
import com.vaadin.ui.VerticalLayout;
-import dhbw.ka.mwi.businesshorizon2.models.Period.CashFlowPeriod;
-import dhbw.ka.mwi.businesshorizon2.ui.process.period.input.periodFormFactory;
-
/**
* Diese Klasse implementiert das GUI fuer den Prozessschritt "Methoden" in Vaadin.
*
View
3  ...java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/direkt/DirektViewInterface.java
@@ -1,8 +1,5 @@
package dhbw.ka.mwi.businesshorizon2.ui.process.period.input.direkt;
-import java.beans.PropertyDescriptor;
-
-import dhbw.ka.mwi.businesshorizon2.models.Period.CashFlowPeriod;
import dhbw.ka.mwi.businesshorizon2.ui.process.contentcontainer.ContentView;
public interface DirektViewInterface extends ContentView {
View
35 src/main/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/doubleValidator.java
@@ -1,35 +0,0 @@
-package dhbw.ka.mwi.businesshorizon2.ui.process.period.input;
-
-import com.vaadin.data.Validator;
-
-public class doubleValidator implements Validator {
-
- private String message;
-
- public doubleValidator(String message){
- this.message=message;
- }
-
- @Override
- public void validate(Object value) throws InvalidValueException {
- if (!isValid(value)) {
- throw new InvalidValueException(message);
- }
-
- }
-
- @Override
- public boolean isValid(Object value) {
- if(value==null || !(value instanceof String)){
- return false;
- }
-
- try{
- Double.parseDouble((String)value);
- }catch(Exception e){
- return false;
- }
- return true;
- }
-
-}
View
2  ...ain/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/gesamt/GesamtPresenter.java
@@ -9,7 +9,6 @@
import javax.annotation.PostConstruct;
import org.apache.log4j.Logger;
-import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import com.mvplite.event.EventBus;
@@ -19,7 +18,6 @@
import dhbw.ka.mwi.businesshorizon2.ui.process.ScreenPresenter;
import dhbw.ka.mwi.businesshorizon2.ui.process.ShowErrorsOnScreenEvent;
import dhbw.ka.mwi.businesshorizon2.ui.process.ValidateContentStateEvent;
-import dhbw.ka.mwi.businesshorizon2.ui.process.period.input.ShowDirektViewEvent;
import dhbw.ka.mwi.businesshorizon2.ui.process.period.input.ShowGesamtViewEvent;
/**
View
10 ...main/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/gesamt/GesamtViewImpl.java
@@ -1,7 +1,5 @@
package dhbw.ka.mwi.businesshorizon2.ui.process.period.input.gesamt;
-import java.util.Arrays;
-
import javax.annotation.PostConstruct;
import org.apache.log4j.Logger;
@@ -9,20 +7,12 @@
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
-import com.vaadin.data.util.BeanItem;
import com.vaadin.terminal.UserError;
-import com.vaadin.ui.Button;
import com.vaadin.ui.AbstractTextField.TextChangeEventMode;
-import com.vaadin.ui.Button.ClickEvent;
-import com.vaadin.ui.Form;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.TextField;
import com.vaadin.ui.VerticalLayout;
-import dhbw.ka.mwi.businesshorizon2.models.Period.AggregateCostMethodPeriod;
-import dhbw.ka.mwi.businesshorizon2.ui.process.period.input.periodFormFactory;
-import dhbw.ka.mwi.businesshorizon2.ui.process.period.input.direkt.DirektViewImpl;
-
/**
* Diese Klasse implementiert das GUI fuer den Prozessschritt "Methoden" in Vaadin.
*
View
1  ...java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/gesamt/GesamtViewInterface.java
@@ -1,6 +1,5 @@
package dhbw.ka.mwi.businesshorizon2.ui.process.period.input.gesamt;
-import dhbw.ka.mwi.businesshorizon2.models.Period.AggregateCostMethodPeriod;
import dhbw.ka.mwi.businesshorizon2.ui.process.contentcontainer.ContentView;
public interface GesamtViewInterface extends ContentView {
View
41 src/main/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/periodFormFactory.java
@@ -1,41 +0,0 @@
-package dhbw.ka.mwi.businesshorizon2.ui.process.period.input;
-
-import com.vaadin.data.Item;
-import com.vaadin.ui.Component;
-import com.vaadin.ui.DefaultFieldFactory;
-import com.vaadin.ui.Field;
-import com.vaadin.ui.TextField;
-
-public class periodFormFactory extends DefaultFieldFactory {
-
- @Override
- public Field createField(Item item, Object propertyId, Component uiContext) {
- Field f;
- f = super.createField(item, propertyId, uiContext);
- TextField tf = (TextField) f;
- tf.setRequired(true);
- tf.setNullRepresentation("0");
- tf.setNullSettingAllowed(false);
- tf.addValidator(new doubleValidator("Wert muss eine Zahl sein!"));
- tf.setWidth("20em");
-
- /*
- if ("freeCashFlow".equals(propertyId)) {
- tf.setRequired(true);
- tf.setNullRepresentation("0");
- tf.setNullSettingAllowed(false);
- tf.addValidator(new doubleValidator("Cashflow must be double!"));
- tf.setWidth("20em");
- }else if("borrowedCapital".equals(propertyId)){
- tf.setRequired(true);
- tf.setNullRepresentation("0");
- tf.setNullSettingAllowed(false);
- tf.addValidator(new doubleValidator("capitalStock must be double!"));
- tf.setWidth("20em");
- }
- */
- return f;
-
- }
-
-}
View
1  ...ain/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/umsatz/UmsatzPresenter.java
@@ -9,7 +9,6 @@
import javax.annotation.PostConstruct;
import org.apache.log4j.Logger;
-import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import com.mvplite.event.EventBus;
View
10 ...main/java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/umsatz/UmsatzViewImpl.java
@@ -1,7 +1,5 @@
package dhbw.ka.mwi.businesshorizon2.ui.process.period.input.umsatz;
-import java.util.Arrays;
-
import javax.annotation.PostConstruct;
import org.apache.log4j.Logger;
@@ -9,20 +7,12 @@
import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
-import com.vaadin.data.util.BeanItem;
import com.vaadin.terminal.UserError;
-import com.vaadin.ui.Button;
import com.vaadin.ui.AbstractTextField.TextChangeEventMode;
-import com.vaadin.ui.Button.ClickEvent;
-import com.vaadin.ui.Form;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.TextField;
import com.vaadin.ui.VerticalLayout;
-import dhbw.ka.mwi.businesshorizon2.models.Period.CostOfSalesMethodPeriod;
-import dhbw.ka.mwi.businesshorizon2.ui.process.period.input.periodFormFactory;
-import dhbw.ka.mwi.businesshorizon2.ui.process.period.input.direkt.DirektViewImpl;
-
/**
* Diese Klasse implementiert das GUI fuer den Prozessschritt "Methoden" in Vaadin.
*
View
1  ...java/dhbw/ka/mwi/businesshorizon2/ui/process/period/input/umsatz/UmsatzViewInterface.java
@@ -1,6 +1,5 @@
package dhbw.ka.mwi.businesshorizon2.ui.process.period.input.umsatz;
-import dhbw.ka.mwi.businesshorizon2.models.Period.CostOfSalesMethodPeriod;
import dhbw.ka.mwi.businesshorizon2.ui.process.contentcontainer.ContentView;
public interface UmsatzViewInterface extends ContentView {
Please sign in to comment.
Something went wrong with that request. Please try again.