use of com.twinsoft.convertigo.beans.core.IPageComponent in project convertigo by convertigo.
the class NgxBuilder method pageRemoved.
@Override
public synchronized void pageRemoved(final IPageComponent pageComponent) throws EngineException {
PageComponent page = (PageComponent) pageComponent;
if (page != null && page.isEnabled() && initDone) {
MobileApplication mobileApplication = project.getMobileApplication();
if (mobileApplication != null) {
ApplicationComponent application = (ApplicationComponent) mobileApplication.getApplicationComponent();
if (application != null) {
writeAppSourceFiles(application);
deleteUselessDir(page.getName());
moveFiles();
Engine.logEngine.trace("(MobileBuilder) Handled 'pageRemoved'");
}
}
}
}
use of com.twinsoft.convertigo.beans.core.IPageComponent in project convertigo by convertigo.
the class NgxBuilder method pageRenamed.
@Override
public synchronized void pageRenamed(final IPageComponent pageComponent, final String oldName) throws EngineException {
PageComponent page = (PageComponent) pageComponent;
if (page != null && page.isEnabled() && initDone) {
MobileApplication mobileApplication = project.getMobileApplication();
if (mobileApplication != null) {
ApplicationComponent application = (ApplicationComponent) mobileApplication.getApplicationComponent();
if (application != null) {
writePageSourceFiles(page);
writeAppSourceFiles(application);
deleteUselessDir(oldName);
moveFiles();
Engine.logEngine.trace("(MobileBuilder) Handled 'pageRenamed'");
}
}
}
}
Aggregations