Examples of ModifiableModel


Examples of com.intellij.openapi.roots.libraries.Library.ModifiableModel

    public void addModuleDependency(Module module) {
        intellijModule.addModuleOrderEntry(module);
    }

    public void addExternalDependency(ExternalDependency externalDependency) {
        ModifiableModel libraryModel = libraryModels.getForExternalDependency(externalDependency);
        libraryModel.addRoot(externalDependency.getUrlForLibraryRoot(), externalDependency.getType());
    }
View Full Code Here

Examples of com.intellij.openapi.roots.libraries.Library.ModifiableModel

        }
        return false;
    }

    public boolean alreadyHasDependencyOnLibrary(ExternalDependency externalDependency) {
        ModifiableModel libraryModel = libraryModels.getForExternalDependency(externalDependency);
        for (String url : libraryModel.getUrls(externalDependency.getType())) {
            if (externalDependency.isSameDependency(url)) {
                return true;
            }
        }
        return false;
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

        || (sortFields != null && !sortFields.isEmpty())) {
      Modifiable modifiable = null;
      if (dataModel instanceof Modifiable) {
        modifiable = (Modifiable) dataModel;
      } else {
        ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar());
        dataModel = modifiableModel;
        modifiable = modifiableModel;
      }
     
      if (dataModel instanceof LocaleAware) {
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

      if (sortFields != null && !sortFields.isEmpty()) {
        Modifiable modifiable = null;
        if (model instanceof Modifiable) {
          modifiable = (Modifiable) model;
        } else {
          ModifiableModel modifiableModel = new ModifiableModel(
              model, getVar());
          model = modifiableModel;
          modifiable = modifiableModel;
        }
        modifiable.modify(null, sortFields);
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

    if (dataModel instanceof ExtendedTableDataModel<?>) {
      ExtendedTableDataModel<?> tableDataModel = (ExtendedTableDataModel<?>) dataModel;
      return new ExtendedDataTableModifiableModel(tableDataModel,
          getVar(), getFilterFields(), getSortFields());
    } else {
      ModifiableModel modifiableModel = new ModifiableModel(dataModel,
          getVar());
      modifiableModel.modify(getFilterFields(), getSortFields());

      return modifiableModel;
    }
  }
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

        || (sortFields != null && !sortFields.isEmpty())) {
      Modifiable modifiable = null;
      if (dataModel instanceof Modifiable) {
        modifiable = (Modifiable) dataModel;
      } else {
        ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar());
        dataModel = modifiableModel;
        modifiable = modifiableModel;
      }
      modifiable.modify(filterFields, sortFields);
    }
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

      if (sortFields != null && !sortFields.isEmpty()) {
        Modifiable modifiable = null;
        if (model instanceof Modifiable) {
          modifiable = (Modifiable) model;
        } else {
          ModifiableModel modifiableModel = new ModifiableModel(
              model, getVar());
          model = modifiableModel;
          modifiable = modifiableModel;
        }
        modifiable.modify(null, sortFields);
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

        ExtendedTableDataModifiableModel<?> modifiableModel = new ExtendedTableDataModifiableModel(tableDataModel, getVar());
        dataModel = modifiableModel;
        modifiable = modifiableModel;
      }
      else {
        ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar());
        dataModel = modifiableModel;
        modifiable = modifiableModel; 
      }
     
      if (dataModel instanceof LocaleAware) {
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

        ExtendedTableDataModifiableModel<?> modifiableModel = new ExtendedTableDataModifiableModel(tableDataModel, getVar());
        dataModel = modifiableModel;
        modifiable = modifiableModel;
      }
      else {
        ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar());
        dataModel = modifiableModel;
        modifiable = modifiableModel; 
      }
     
      if (dataModel instanceof LocaleAware) {
View Full Code Here

Examples of org.richfaces.model.ModifiableModel

      if (sortFields != null && !sortFields.isEmpty()) {
        Modifiable modifiable = null;
        if (model instanceof Modifiable) {
          modifiable = (Modifiable) model;
        } else {
          ModifiableModel modifiableModel = new ModifiableModel(
              model, getVar());
          model = modifiableModel;
          modifiable = modifiableModel;
        }
        modifiable.modify(null, sortFields);
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.