Examples of BindingHelper


Examples of com.clarkparsia.pellet.rules.BindingHelper

    AtomDConstant semicolan = new AtomDConstant( literal( ";" ) );
    Collection<AtomVariable> emptyCollection = Collections.emptySet();
    Collection<AtomVariable> xSingleton = Collections.singleton( (AtomVariable) x );
   
    BuiltInAtom sharedVarAtom = new BuiltInAtom( Namespaces.SWRLB + "tokenize", x, x, semicolan );
    BindingHelper sharedVarHelper = StringOperators.tokenize.createHelper( sharedVarAtom );
    assertTrue( sharedVarHelper.getBindableVars( emptyCollection ).isEmpty() );
    assertTrue( sharedVarHelper.getBindableVars( xSingleton ).isEmpty() );
    VariableBinding xdataBinding = new VariableBinding( kb.getABox() );
    xdataBinding.set( x, data.getValue() );
    sharedVarHelper.rebind( xdataBinding );
    assertFalse( sharedVarHelper.selectNextBinding() );
 
  }
View Full Code Here

Examples of name.abuchen.portfolio.ui.util.BindingHelper

    public AbstractDialog(Shell parentShell, String title, Model model)
    {
        super(parentShell);
        this.title = title;
        this.model = model;
        this.bindings = new BindingHelper(model)
        {
            @Override
            public void onValidationStatusChanged(IStatus status)
            {
                Control button = getButton(IDialogConstants.OK_ID);
View Full Code Here

Examples of name.abuchen.portfolio.ui.util.BindingHelper

        setTitle(Messages.SplitWizardDefinitionTitle);
        setDescription(Messages.SplitWizardDefinitionDescription);

        this.model = model;

        bindings = new BindingHelper(model)
        {
            @Override
            public void onValidationStatusChanged(IStatus status)
            {
                boolean isOK = status.getSeverity() == IStatus.OK;
View Full Code Here

Examples of name.abuchen.portfolio.ui.util.BindingHelper

    public EditSecurityDialog(Shell parentShell, Client client, Security security)
    {
        super(parentShell);

        this.model = new EditSecurityModel(client, security);
        this.bindings = new BindingHelper(model)
        {
            @Override
            public void onValidationStatusChanged(IStatus status)
            {
                boolean isOK = status.getSeverity() == IStatus.OK;
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.