Package org.springframework.ide.eclipse.beans.ui.properties.model

Examples of org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesConfig


  /**
   * The user has pressed the down button. Move the selected config down.
   */
  private void handleDownButtonPressed() {
    if (selectedElement != null && selectedElement instanceof PropertiesConfig) {
      PropertiesConfig config = (PropertiesConfig) selectedElement;
      PropertiesConfigSet configSet = (PropertiesConfigSet) config.getElementParent();
      configSet.moveConfigDown(config);
      configSetsViewer.refresh(false);
      hasUserMadeChanges = true;
    }
  }
View Full Code Here


        selectedElement = (PropertiesConfigSet) selected;
        editButtonsEnabled = ((PropertiesConfigSet) selectedElement).getType()
          == IBeansConfigSet.Type.MANUAL;
      }
      else if (selected instanceof PropertiesConfig) {
        PropertiesConfig config = (PropertiesConfig) selected;
        PropertiesConfigSet configSet = (PropertiesConfigSet) config.getElementParent();
        if (configSet != null && configSet.getConfigs().size() > 1) {
          selectedElement = config;
          moveButtonsEnabled = true;
        }
      }
View Full Code Here

  /**
   * The user has pressed the up button. Move the selected config up.
   */
  private void handleUpButtonPressed() {
    if (selectedElement != null && selectedElement instanceof PropertiesConfig) {
      PropertiesConfig config = (PropertiesConfig) selectedElement;
      PropertiesConfigSet configSet = (PropertiesConfigSet) config.getElementParent();
      configSet.moveConfigUp(config);
      configSetsViewer.refresh(false);
      hasUserMadeChanges = true;
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesConfig

Copyright © 2018 www.massapicom. 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.