Examples of configureDefaults()


Examples of net.sf.logsaw.core.config.IConfigurableObject.configureDefaults()

    try {
      // Signal dynamic pages to apply settings
      IConfigurableObject obj = (IConfigurableObject) dialectInstance.getAdapter(IConfigurableObject.class);
      if (obj != null) {
        // Configure option defaults (if any)
        obj.configureDefaults();
       
        for (IConfigurableObjectWizardPage page : dialectPages) {
          page.performFinish();
        }
        Assert.isTrue(obj.isConfigured(), "Dialect should be configured by now"); //$NON-NLS-1$
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.