Examples of GUIComponent


Examples of ModalGUI.GUIComponent

    if (this.scrollPanel == null)
      return;

    for (int i = 0; i < this.scrollPanel.components.size(); i++) {
      GUIComponent component = (GUIComponent) this.scrollPanel.components
          .get(i);

      if (component.label.getLabelStr().startsWith(
          Integer.toString(((this.sliceSelections.l
              .indexOf(crossSliceSelection) + 1))))) {
View Full Code Here

Examples of org.cishell.reference.gui.guibuilder.swt.builder.GUIComponent

       
        setupGUI();

        for (AttributeDefinition attribute :
            this.objectClassDefinition.getAttributeDefinitions(ObjectClassDefinition.ALL)) {
            GUIComponent component = ComponentProvider.getInstance().createComponent(attribute);

            component.setAttributeDefinition(attribute);
            component.createGUI(this.parameterArea, style);
            this.idToComponentMap.put(attribute.getID(), component);
            component.addUpdateListener(this);
           
            Object value = component.getValue();
            String valid = component.validate();
           
            if ((value != null) && ((valid == null) || (valid.length() == 0))) {
                this.enteredResponses.put(component.getAttributeDefinition().getID(), value);   
            }
        }
       
        setScrollDimensions(this.scrollingArea, this.parameterArea);
       
View Full Code Here

Examples of org.cishell.reference.gui.guibuilder.swt.builder.GUIComponent

    public ObjectClassDefinition getObjectClassDefinition() {
        return this.objectClassDefinition;
    }
   
    public Object getResponse(String id) {
        GUIComponent component = this.idToComponentMap.get(id);

        if (component != null) {
          return component.getValue();
        } else {
          return null;
        }
//        return component == null ? null : component.getValue();
    }
View Full Code Here

Examples of org.cishell.reference.gui.guibuilder.swt.builder.GUIComponent

    public String validate() {
        String totalValid = "";

        for (AttributeDefinition attribute : this.objectClassDefinition.getAttributeDefinitions(
            ObjectClassDefinition.REQUIRED)) {
            GUIComponent component = this.idToComponentMap.get(attribute.getID());
            String valid = component.validate();

            if ((valid != null) && (valid.length() > 0)) {
                totalValid += "\"" + valid + "\"; ";
            }
        }
View Full Code Here

Examples of org.cishell.reference.gui.guibuilder.swt.builder.GUIComponent

       
        return panel;
    }
   
    protected synchronized void addComponent(int position) {
        GUIComponent component = ComponentProvider.getInstance().createBasicComponent(attribute);
        Control control = component.createGUI(panel, style);
       
       
       
        componentList.add(component);
        controlList.add(control);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.