Examples of open()


Examples of org.netbeans.modules.php.drupaldevel.drush.ui.DrushTopComponent.open()

                } else if (evt.getAction().equals(ApiTreeEvent.EVENT_LOOKUP)) {
                    DrushTopComponent tc = Util.drushWindow;
                    if (tc == null) {
                        tc = (DrushTopComponent) WindowManager.getDefault().findTopComponent("DrushTopComponent");
                        tc.open();
                        tc.requestActive();

                    }
                    tc.setActiveProject(activeProject);
                    tc.executeDrush("nb-hook " + item.getName());
View Full Code Here

Examples of org.nuxeo.ecm.directory.api.DirectoryService.open()

        }

        DirectoryService directoryService = Framework.getLocalService(DirectoryService.class);
        Session relationshipsDirectory = null;
        try {
            relationshipsDirectory = directoryService.open(RELATIONSHIP_DIRECTORY_NAME);
            // try to get an existing entry
            Map<String, Serializable> relationship = new HashMap<String, Serializable>();
            relationship.put(RELATIONSHIP_FIELD_ACTOR, actorId);
            relationship.put(RELATIONSHIP_FIELD_TARGET, targetId);
            relationship.put(RELATIONSHIP_FIELD_KIND, kind.toString());
View Full Code Here

Examples of org.objectstyle.wolips.core.resources.IWOLipsResource.open()

        for (int i = 0; i < list.size(); i++) {
          Object object = list.get(i);
          if (object instanceof IAdaptable) {
            IWOLipsResource wolipsResource = (IWOLipsResource)((IAdaptable) object).getAdapter(IWOLipsResource.class);
            if (wolipsResource != null) {
              wolipsResource.open();
            }
            else if (object instanceof IFile) {
              WorkbenchUtilities.open((IFile) object);
            }
          }
View Full Code Here

Examples of org.objectstyle.wolips.eogenerator.ui.dialogs.EOGeneratorResultsDialog.open()

    if (_output.length() > 0 && !_succeeded) {
      final String output = _output.toString();
      Display.getDefault().asyncExec(new Runnable() {
        public void run() {
          EOGeneratorResultsDialog resultsDialog = new EOGeneratorResultsDialog(DialogEOGeneratorListener.this.getShell(), output.toString());
          resultsDialog.open();
        }
      });
    }
  }
View Full Code Here

Examples of org.objectstyle.wolips.eomodeler.editors.EOModelErrorDialog.open()

    IContainer parentContainer = (IContainer) _parentResource;
    IFolder existingModelFolder = parentContainer.getFolder(new Path(_modelName + ".eomodeld"));
    if (existingModelFolder.exists()) {
      failures.add(new EOModelVerificationFailure(null, "There's already a model in " + existingModelFolder.getLocation().toOSString() + ".", true, null));
      EOModelErrorDialog errors = new EOModelErrorDialog(Display.getDefault().getActiveShell(), failures);
      errors.open();
      return;
    }

    boolean createModelGroup = false;
    EOModelGroup modelGroup = new EOModelGroup();
View Full Code Here

Examples of org.objectstyle.wolips.eomodeler.editors.entity.CreateRelationshipDialog.open()

        entity2 = EOModelUtils.getRelatedEntity(selectedObjects[1]);
      }
    }
    if (entity1 != null && entity2 != null) {
      CreateRelationshipDialog dialog = new CreateRelationshipDialog(getWindow().getShell(), entity1.getModel().getModelGroup(), entity1, entity2);
      dialog.open();
    } else if (entity1 != null) {
      CreateRelationshipDialog dialog = new CreateRelationshipDialog(getWindow().getShell(), entity1.getModel().getModelGroup(), entity1, null);
      dialog.open();
      // entity1.addBlankRelationship(Messages.getString("EORelationship.newName"));
    } else {
View Full Code Here

Examples of org.objectstyle.wolips.eomodeler.editors.entity.SubclassEntityDialog.open()

      model = entity.getModel();
    }
    if (model != null) {
      SubclassEntityDialog dialog = new SubclassEntityDialog(getWindow().getShell(), model, entity, model.getModelGroup().getEditingModel());
      dialog.setBlockOnOpen(true);
      int results = dialog.open();
      if (results == Window.OK) {
        String entityName = dialog.getEntityName();
        if (entityName != null && entityName.trim().length() > 0) {
          try {
            EOEntity parentEntity = dialog.getParentEntity();
View Full Code Here

Examples of org.objectweb.speedo.pm.jdo.api.JDOPOManagerItf.open()

            // Gets a PM from the pool
            Object pr = managedPM.getResource(null);
      logger.log(BasicLevel.DEBUG, "get a persistenceManager from the pool");
            Component ci = ((Interface) pr).getFcItfOwner();
            JDOPOManagerItf pm = (JDOPOManagerItf) ci.getFcInterface("po-manager");
            pm.open(cs);
            bindPM2Thread(pm);
            pm.addUse();
            return pm;
        } catch (Exception e) {
            throw new JDODataStoreException(
View Full Code Here

Examples of org.odlabs.wiquery.ui.dialog.Dialog.open()

    final AjaxLink<Void> openDialog = new AjaxLink<Void>("openDialog") {
      private static final long serialVersionUID = 1L;

      @Override
      public void onClick(AjaxRequestTarget target) {
        target.appendJavaScript(dialog.open().render().toString());
      }
    };
    dialogContainer.add(openDialog);
  }
 
View Full Code Here

Examples of org.odmg.Database.open()

     */
    public Implementation getInstance() throws ODMGException {
        Database db = (Database)this.databases.get( DEFAULT_CONNECTION );
        if(null == db ) {
            db = this.odmg.newDatabase();
            db.open(DEFAULT_CONNECTION, DEFAULT_MODE);
            synchronized (this.databases) {
                this.databases.put( DEFAULT_CONNECTION + DEFAULT_MODE, db );
            }
        }
        return this.odmg;
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.