Search in sources :

Example 16 with IPageComponent

use of com.twinsoft.convertigo.beans.core.IPageComponent in project convertigo by convertigo.

the class Ionic3Builder method pageStyleChanged.

@Override
public void pageStyleChanged(final IPageComponent pageComponent) throws EngineException {
    PageComponent page = (PageComponent) pageComponent;
    if (page != null && page.isEnabled() && initDone) {
        synchronized (page) {
            writePageStyle(page);
            moveFiles();
            Engine.logEngine.trace("(MobileBuilder) Handled 'pageStyleChanged'");
        }
    }
}
Also used : IPageComponent(com.twinsoft.convertigo.beans.core.IPageComponent) PageComponent(com.twinsoft.convertigo.beans.mobile.components.PageComponent)

Example 17 with IPageComponent

use of com.twinsoft.convertigo.beans.core.IPageComponent in project convertigo by convertigo.

the class Ionic3Builder method pageTemplateChanged.

@Override
public void pageTemplateChanged(final IPageComponent pageComponent) throws EngineException {
    PageComponent page = (PageComponent) pageComponent;
    if (page != null && page.isEnabled() && initDone) {
        synchronized (page) {
            writePageTemplate(page);
            moveFiles();
            Engine.logEngine.trace("(MobileBuilder) Handled 'pageTemplateChanged'");
        }
    }
}
Also used : IPageComponent(com.twinsoft.convertigo.beans.core.IPageComponent) PageComponent(com.twinsoft.convertigo.beans.mobile.components.PageComponent)

Example 18 with IPageComponent

use of com.twinsoft.convertigo.beans.core.IPageComponent in project convertigo by convertigo.

the class NgxBuilder method pageStyleChanged.

@Override
public synchronized void pageStyleChanged(final IPageComponent pageComponent) throws EngineException {
    PageComponent page = (PageComponent) pageComponent;
    if (page != null && page.isEnabled() && initDone) {
        writePageStyle(page);
        moveFiles();
        Engine.logEngine.trace("(MobileBuilder) Handled 'pageStyleChanged'");
    }
}
Also used : IPageComponent(com.twinsoft.convertigo.beans.core.IPageComponent) PageComponent(com.twinsoft.convertigo.beans.ngx.components.PageComponent)

Example 19 with IPageComponent

use of com.twinsoft.convertigo.beans.core.IPageComponent in project convertigo by convertigo.

the class NgxBuilder method pageAdded.

@Override
public synchronized void pageAdded(final IPageComponent pageComponent) throws EngineException {
    PageComponent page = (PageComponent) pageComponent;
    if (page != null && page.isEnabled() && page.bNew && initDone) {
        addPage(page);
        moveFiles();
        Engine.logEngine.trace("(MobileBuilder) Handled 'pageAdded'");
    }
}
Also used : IPageComponent(com.twinsoft.convertigo.beans.core.IPageComponent) PageComponent(com.twinsoft.convertigo.beans.ngx.components.PageComponent)

Example 20 with IPageComponent

use of com.twinsoft.convertigo.beans.core.IPageComponent in project convertigo by convertigo.

the class NgxBuilder method pageEnabled.

@Override
public synchronized void pageEnabled(final IPageComponent pageComponent) throws EngineException {
    PageComponent page = (PageComponent) pageComponent;
    if (page != null && page.isEnabled() && initDone) {
        addPage(page);
        moveFiles();
        Engine.logEngine.trace("(MobileBuilder) Handled 'pageEnabled'");
    }
}
Also used : IPageComponent(com.twinsoft.convertigo.beans.core.IPageComponent) PageComponent(com.twinsoft.convertigo.beans.ngx.components.PageComponent)

Aggregations

IPageComponent (com.twinsoft.convertigo.beans.core.IPageComponent)22 PageComponent (com.twinsoft.convertigo.beans.mobile.components.PageComponent)11 PageComponent (com.twinsoft.convertigo.beans.ngx.components.PageComponent)11 IApplicationComponent (com.twinsoft.convertigo.beans.core.IApplicationComponent)6 MobileApplication (com.twinsoft.convertigo.beans.core.MobileApplication)6 File (java.io.File)6 EngineException (com.twinsoft.convertigo.engine.EngineException)4 IOException (java.io.IOException)4 ApplicationComponent (com.twinsoft.convertigo.beans.mobile.components.ApplicationComponent)3 ApplicationComponent (com.twinsoft.convertigo.beans.ngx.components.ApplicationComponent)3 Matcher (java.util.regex.Matcher)2 Pattern (java.util.regex.Pattern)2