Examples of apply()


Examples of org.eclipse.wb.internal.core.xml.model.clipboard.XmlObjectMemento.apply()

          @Override
          public void execute(XmlObjectInfo tree) throws Exception {
            TreeItemInfo item = (TreeItemInfo) memento.create(tree);
            XmlObjectUtils.flowContainerCreate(tree, item, null);
            memento.apply();
          }
        });
      }
    });
  }
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.util.CSSClassTraverser.apply()

        for (int i = 0, numStyles = ssl.getLength(); i < numStyles; i++) {
          // loop for styles (<style> and <link>)
          org.w3c.dom.stylesheets.StyleSheet ss = ssl.item(i);

          try {
            traverser.apply((ICSSNode) ss);
          } catch (ClassCastException ex) {
            Logger log = PDPlugin
                .getLogger(CSSStyleDeclaration.class);
            log.error("Error.CSSUtil.0", ex); //$NON-NLS-1$
            // FIXME: should this continue to be processed?
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.util.ImportRuleCollector.apply()

        ((LinkElementAdapter) adapter).refreshSheet();
      }
      else if (adapter instanceof StyleElementAdapter) {
        ICSSModel model = ((StyleElementAdapter) adapter).getModel();
        ImportRuleCollector trav = new ImportRuleCollector();
        trav.apply(model);
        Iterator iRule = trav.getRules().iterator();
        while (iRule.hasNext()) {
          ICSSImportRule rule = (ICSSImportRule) iRule.next();
          rule.refreshStyleSheet();
        }
View Full Code Here

Examples of org.eclipse.wst.css.core.internal.util.ImportedCollector.apply()

      int n = styles.getLength();
      ImportedCollector trav = new ImportedCollector();
      for (int i = 0; i < n; i++) {
        org.w3c.dom.stylesheets.StyleSheet sheet = styles.item(i);
        if (sheet instanceof ICSSNode)
          trav.apply((ICSSNode) sheet);
      }
    }

    // flash style changed events
    if (styleChangedNodes != null) {
View Full Code Here

Examples of org.eclipse.wst.html.core.internal.htmlcss.CSSQueryTraverser.apply()

    // org.w3c.dom.stylesheets.StyleSheet ss = ssl.item(i);
    if (styleSheets != null) {
      for (int i = 0, numStyles = styleSheets.size(); i < numStyles; i++) {
        StyleSheet ss = (StyleSheet) styleSheets.get(i);
        try {
          query.apply((ICSSNode) ss);
        } catch (ClassCastException ex) {
          Logger log = PDPlugin.getLogger(CSSStyleDeclaration.class);
          log.error("Error.CSSUtil.0", ex); //$NON-NLS-1$
          // FIXME: should this continue to be processed?
        }
View Full Code Here

Examples of org.eclipse.wst.sse.ui.internal.comment.CommentingStrategy.apply()

            //toggle the comment on the line
            if(commentType != null) {
              if(commentType.alreadyCommenting(this.fDocument, lineTypedRegions)) {
                commentType.remove(this.fDocument, lineRegion.getOffset(), lineRegion.getLength(), true);
              } else {
                commentType.apply(this.fDocument, lineRegion.getOffset(), lineRegion.getLength());
              }
            }
          }
          monitor.worked(1);
        }
View Full Code Here

Examples of org.eclipse.xtext.xbase.lib.Procedures.Procedure0.apply()

      _builder.append(name, "");
      _builder.append("\']");
      InputOutput.<String>println(_builder.toString());
      Procedure0 _runnable = task.getRunnable();
      if (_runnable!=null) {
        _runnable.apply();
      }
    } finally {
      task.setExecuted(true);
      task.setIsExecuting(false);
    }
View Full Code Here

Examples of org.eigenbase.relopt.RelOptUtil.InputReferencedVisitor.apply()

            ((RexInputRef) op).getIndex());
        if (tmpNDV > maxNDV)
          maxNDV = tmpNDV;
      } else {
        irv = new InputReferencedVisitor();
        irv.apply(op);
        for (Integer childProjIndx : irv.inputPosReferenced) {
          tmpNDV = HiveRelMdDistinctRowCount.getDistinctRowCount(this.childRel, childProjIndx);
          if (tmpNDV > maxNDV)
            maxNDV = tmpNDV;
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.mobility.outbound.OutboundMobilityCandidacyContest.apply()

    public ActionForward apply(final ActionMapping mapping, final ActionForm form, final HttpServletRequest request,
            final HttpServletResponse response) throws FenixActionException, FenixServiceException {
        final Student student = getUserView(request).getPerson().getStudent();
        final OutboundMobilityCandidacyContest contest = getDomainObject(request, "contestOid");
        contest.apply(student);
        return prepare(mapping, request, student);
    }

    public ActionForward removeCandidacy(final ActionMapping mapping, final ActionForm form, final HttpServletRequest request,
            final HttpServletResponse response) throws FenixActionException, FenixServiceException {
View Full Code Here

Examples of org.fife.ui.rsyntaxtextarea.Theme.apply()

    protected void buildUI() {
        editArea = new RSyntaxTextArea(20, 60);

        try {
            Theme theme = Theme.load(XmlSourceEditorView.class.getResourceAsStream(RSYNTAXAREA_THEME));
            theme.apply(editArea);
        } catch (IOException e) {
            SoapUI.logError(e, "Could not load XML editor color theme file");
        }

        editArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_XML);
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.