Examples of Separator


Examples of apigen.adt.api.types.Separator

  private String buildSeparatorPattern() {
    StringBuffer pattern = new StringBuffer();
    Separators runner = separators;

    while (!runner.isEmpty()) {
      Separator sep = runner.getHead();

      pattern.append(sep.toString());
      runner = runner.getTail();

      if (!runner.isEmpty()) {
        pattern.append(',');
      }
View Full Code Here

Examples of com.gwtext.client.widgets.menu.Separator

    this.messageToolbarButtons.add( this.markToolbarButton );

    menu = new Menu();
    menu.addItem( UIFactory.createMenuItem( ActionRegistry.MARK_AS_READ.get() ) );
    menu.addItem( UIFactory.createMenuItem( ActionRegistry.MARK_AS_UNREAD.get() ) );
    menu.addItem( new Separator() );
    menu.addItem( UIFactory.createMenuItem( ActionRegistry.MARK_AS_DELETED.get() ) );
    menu.addItem( UIFactory.createMenuItem( ActionRegistry.MARK_AS_UNDELETED.get() ) );
    this.markToolbarButton.setMenu( menu );

    separator = new ToolbarSeparator();
View Full Code Here

Examples of com.intellij.openapi.actionSystem.Separator

                "DBNavigator.ObjectNameFilters.Setup", true,
                new CreateFilterAction(this),
                new AddConditionAction(this),
                new RemoveConditionAction(this),
                new SwitchConditionJoinTypeAction(this),
                new Separator(),
                new MoveConditionUpAction(this),
                new MoveConditionDownAction(this));
        actionsPanel.add(actionToolbar.getComponent());

        filtersTree.setCellRenderer(new FilterSettingsTreeCellRenderer());
View Full Code Here

Examples of com.sardak.antform.types.Separator

    bar.addConfiguredButton(new Button("Ok button", null, ActionType.OK));
    bar.addConfiguredButton(new Button("Cancel button", null, ActionType.CANCEL));
    bar.addConfiguredButton(new Button("Reset button", null, ActionType.RESET));
    addConfiguredButtonBar(bar);
   
    addConfiguredSeparator(new Separator());
   
    BooleanProperty bp = new BooleanProperty();
    bp.setProject(project);
    bp.setLabel("booleanproperty");
    bp.setProperty("booleanproperty");
View Full Code Here

Examples of edu.gmu.seor.prognos.unbbayesplugin.jt.prs.bn.Separator

    *
    * @param clique1
    * @param clique2
    */
    protected void absorb(Clique clique1, Clique clique2) {     
        Separator separator = getSeparator(clique1, clique2);
        super.absorb(clique1, clique2);
//        clique1.absorb(clique2, separator.getPotentialTable());
        ArrayList<Node> toDie = SetToolkit.clone(clique2.getNodes());
        toDie.removeAll(separator.getNodes());

        PotentialTable originalSeparatorUtilityTable = (PotentialTable) separator.getUtilityTable().clone();

        PotentialTable dummyTable = (PotentialTable) clique2.getUtilityTable().clone();
        dummyTable.directOpTab(clique2.getPotentialTable(), PotentialTable.PRODUCT_OPERATOR);
        for (int i = 0; i < toDie.size(); i++) {
            dummyTable.removeVariable(toDie.get(i));
        }

        for (int i = separator.getUtilityTable().tableSize()-1; i >= 0; i--) {
            separator.getUtilityTable().setValue(i, dummyTable.getValue(i));
        }
        separator.getUtilityTable().directOpTab(separator.getPotentialTable(), PotentialTable.DIVISION_OPERATOR);
        dummyTable = (PotentialTable) separator.getUtilityTable().clone();
        dummyTable.directOpTab(originalSeparatorUtilityTable, PotentialTable.MINUS_OPERATOR);
        clique1.getUtilityTable().opTab(dummyTable, PotentialTable.PLUS_OPERATOR);
    }
View Full Code Here

Examples of javafx.scene.control.Separator

    sensorReading = new SensorReading(this, Orientation.HORIZONTAL);
   
    // add the menu items
    getItems().addAll(camTakeQvga, camTakeVga, settingsSend,
        settingsGet, readingsGet, new Separator(Orientation.VERTICAL),
        sensorReading);
    listenForAppEvents();
    validateRemoteNodeSynchronization();
  }
View Full Code Here

Examples of javax.swing.JPopupMenu.Separator

                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    ResetRepl();
                }
            });

            contextMenu.add(new Separator());
            contextMenu.add(showReplInfoMenu);
            contextMenu.add(resetReplMenu);

        _replEditorPane.setComponentPopupMenu(contextMenu);
    }
View Full Code Here

Examples of javax.swing.JToolBar.Separator

        mageToolbar.add(new javax.swing.JToolBar.Separator());
        mageToolbar.add(createWindowsButton());

        //TODO: move to plugin impl
        if (Plugins.getInstance().isCardPluginLoaded()) {
            Separator separator = new javax.swing.JToolBar.Separator();
            mageToolbar.add(separator);

            JButton btnDownloadSymbols = new JButton("Symbols");
            btnDownloadSymbols.setFocusable(false);
            btnDownloadSymbols.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
View Full Code Here

Examples of net.laubenberger.bogatyr.view.swing.Separator

    createLayout();

    final List<Object> result = new ArrayList<Object>();
    result.add(actionOpen);
    result.add(new Separator());
    result.add(actionStart);
    result.add(actionStop);
    result.add(actionSkipBackward);
    result.add(actionSkipForward);
    result.add(new Separator());
    result.add(new MenuItemCheckBox(getModuleData().getBoolean(KEY_IS_RANDOM), new ActionRandom()));
    result.add(new MenuItemCheckBox(getModuleData().getBoolean(KEY_IS_ENQUEUE), new ActionEnqueue()));
    result.add(new MenuItemCheckBox(getModuleData().getBoolean(KEY_IS_ON_TOP), new ActionOnTop()));
    result.add(new Separator());
    result.add(new ActionAbout());

    if (log.isDebugEnabled()) log.debug(HelperLog.methodExit(result));
    return result;
  }
View Full Code Here

Examples of org.aeonbits.owner.Config.Separator

        return DEFAULT_TOKENIZER;
    }

    private static Tokenizer resolveTokenizerOnClassLevel(Class<?> declaringClass) {
        Separator separatorAnnotationOnClassLevel = declaringClass.getAnnotation(Separator.class);
        TokenizerClass tokenizerClassAnnotationOnClassLevel = declaringClass.getAnnotation(TokenizerClass.class);

        if (separatorAnnotationOnClassLevel != null && tokenizerClassAnnotationOnClassLevel != null)
            throw unsupported(
                    "You cannot specify @Separator and @TokenizerClass both together on class level for '%s'",
                    declaringClass.getCanonicalName());

        if (separatorAnnotationOnClassLevel != null)
            return new SplitAndTrimTokenizer(separatorAnnotationOnClassLevel.value());

        if (tokenizerClassAnnotationOnClassLevel != null)
            return createTokenizer(tokenizerClassAnnotationOnClassLevel.value());

        return null;
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.