Examples of edit()


Examples of org.fenixedu.academic.domain.studentCurriculum.ExternalEnrolment.edit()

public class EditExternalEnrolment {

    @Atomic
    public static void run(final EditExternalEnrolmentBean bean, final Registration registration) {
        final ExternalEnrolment externalEnrolment = bean.getExternalEnrolment();
        externalEnrolment.edit(registration, bean.getGrade(), bean.getExecutionPeriod(), bean.getEvaluationDate(),
                bean.getEctsCredits());
    }
}
View Full Code Here

Examples of org.freeplane.features.text.mindmapmode.MTextController.edit()

      }
      else {
        if (Compat.isPlainEvent(e) && !isInFoldingRegion(e)) {
          final MTextController textController = MTextController.getController();
          textController.getEventQueue().activate(e);
          textController.edit(FirstAction.EDIT_CURRENT, false);
        }
      }
    }
    super.mouseClicked(e);
  }
View Full Code Here

Examples of org.jboss.as.console.mbui.widgets.ModelNodeForm.edit()

            if (form.hasWritableAttributes())
                form.setToolsCallback(new AddressableFormCallback(address));


            formContainer.add(form);
            form.edit(model.getValue());
        }
        else {
            formContainer.add(new HTML("No configurable attributes available."));
        }
View Full Code Here

Examples of org.modeshape.jcr.RepositoryConfiguration.edit()

            throw new StartException(e);
        }

        RepositoryConfiguration repositoryConfig = repository.getConfiguration();

        Editor editor = repositoryConfig.edit();

        EditableDocument providers = editor.getOrCreateDocument(FieldName.INDEX_PROVIDERS);

        EditableDocument provider = Schematic.newDocument();
        String providerName = providerProperties.getProperty(FieldName.NAME);
View Full Code Here

Examples of org.modeshape.jcr.cache.document.LocalDocumentStore.edit()

                this.upgradingRepository = runInTransaction(new Callable<Boolean>() {
                    @Override
                    public Boolean call() throws Exception {
                        LocalDocumentStore store = documentStore().localStore();
                        store.prepareDocumentsForUpdate(Collections.unmodifiableSet(REPOSITORY_INFO_KEY));
                        EditableDocument editor = store.edit(REPOSITORY_INFO_KEY, true);
                        if (editor.get(REPOSITORY_UPGRADER_FIELD_NAME) == null) {
                            // Make sure that some other process didn't sneak in and already upgrade ...
                            int lastUpgradeId = editor.getInteger(REPOSITORY_UPGRADE_ID_FIELD_NAME, 0);
                            if (upgrades.isUpgradeRequired(lastUpgradeId)) {
                                // An upgrade is still required, and we get to do it ...
View Full Code Here

Examples of org.moltools.lib.seq.ChangeableNucleotideSequence.edit()

          oldseq = pa.seqString(); //but first store the old sequence
          //remove nucleotides form the non-fixed end of the arm
          switch (fixedEnd) {
            case TemplateHandler.THREEPRIME:
              try {
                cns.edit(new SimpleSequenceEdit(1, 1, "")); //$NON-NLS-1$
              }
              catch (SequenceFormatException e) {
                throw new UnsupportedOperationException("Invalid sequence"); //$NON-NLS-1$
              }
View Full Code Here

Examples of org.openide.cookies.EditCookie.edit()

            //file = Repository.getDefault().getDefaultFileSystem().findResource(selFile.getCanonicalPath());
            file = FileUtil.toFileObject(selFile);
            dob = DataObject.find(file);
            EditCookie cookie = dob.getCookie(EditCookie.class);
            if (cookie != null) {
                cookie.edit();
            }
            setLocalFile(selFile.getCanonicalPath());
        } catch (IOException ex) {
            Exceptions.printStackTrace(ex);
        }
View Full Code Here

Examples of org.wikipedia.Wiki.edit()

                                        builder.append("\n");
                                    }

                                    reader.close();

                                    wiki.edit("CraftBook/" + ric.getId(), builder.toString(), "Automated update of '" + ric.getId() + "' by " + username);

                                    Bukkit.getLogger().info("Uploaded: " + ric.getId());

                                    amount++;
                                }
View Full Code Here

Examples of org.woped.editor.controller.vc.EditorVC.edit()

        }
        if (cell instanceof GroupModel)
        {
          cell = ((GroupModel) cell).getMainElement();
        }
        editor.edit(cell);
        break;
      case AbstractViewEvent.REMOVE:
        editor.deleteSelection();
        break;
      case AbstractViewEvent.CUT:
View Full Code Here

Examples of org.xwiki.appwithinminutes.test.po.ApplicationHomePage.edit()

        // Go back to the application home page.
        getDriver().navigate().back();

        // Click the edit button.
        homePage.edit();
        homeEditPage = new ApplicationHomeEditPage();

        // Change the application description.
        appDescription = "The best app!";
        homeEditPage.setDescription(appDescription);
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.