Skip to content

Instantly share code, notes, and snippets.

View vegegoku's full-sized avatar
😎
Working on DominoKit

Ahmad K. Bawaneh vegegoku

😎
Working on DominoKit
View GitHub Profile
@vegegoku
vegegoku / CanLoadItems
Last active January 26, 2019 20:25
Implementing a remote data loader in domino-ui
public interface CanLoadItems<T> {
void load(LoadContext context, Consumer<IsSummaries<T>> responseConsumer);
}
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java" including="**/*.java"/>
<classpathentry kind="output" path="target/Aioc-1.0-SNAPSHOT/WEB-INF/classes"/>
<classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar" sourcepath="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar" sourcepath="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar" sourcepath="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/annotati
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java" including="**/*.java"/>
<classpathentry kind="output" path="target/Aioc-1.0-SNAPSHOT/WEB-INF/classes"/>
<classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar" sourcepath="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar" sourcepath="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar" sourcepath="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/javax/annotati
@vegegoku
vegegoku / create-and-run-gwt-project-in-eclipse.md
Last active May 13, 2019 07:35
create and run gwt project in eclipse

1- Start eclipse

2- From eclipse marketplace seearch for gwt

3- install Eclipse GWT plugin 3.0.0

4- From eclipse menu select window -> preferences

5- open entry GWT -> GWT settings

webpackJsonp([11],{
/***/ 340:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
AddQueueMember: Dynamically adds queue members.
ADSIProg: Load Asterisk ADSI Scripts into phone
AELSub: Launch subroutine built with AEL
AgentLogin: Login an agent.
AgentRequest: Request an agent to connect with the channel.
AGI: Executes an AGI compliant application.
Answer: Answer a channel if ringing.
Authenticate: Authenticate a user
BackGround: Play an audio file while waiting for digits of an extension to go to.
BackgroundDetect: Background a file with talk detect.
@vegegoku
vegegoku / domino-ui-remote-data-store.java
Created November 18, 2019 15:02
a sample domino-ui remote data store
package com.progressoft.alpha.commons.client.store;
import com.progressoft.alpha.commons.client.Formats;
import com.progressoft.alpha.commons.shared.store.CanLoadItems;
import com.progressoft.alpha.commons.shared.store.LoadContext;
import org.dominokit.domino.ui.datatable.events.SearchEvent;
import org.dominokit.domino.ui.datatable.events.SortEvent;
import org.dominokit.domino.ui.datatable.events.TableEvent;
import org.dominokit.domino.ui.datatable.events.TablePageChangeEvent;
import org.dominokit.domino.ui.datatable.model.Filter;
This file has been truncated, but you can view the full file.
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'profiles.profile[ossrh].repositories.repository.id' must be unique but found duplicate repository with id sonatype-snapshots-repo @ /home/vegegoku/.m2/settings.xml
[WARNING] 'profiles.profile[artifactory].pluginRepositories.pluginRepository.id' must be unique but found duplicate repository with id sonatype-snapshots-repo @ /home/vegegoku/.m2/settings.xml
[WARNING]
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.progressoft.alpha:commons-frontend-ui:gwt-lib:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.dominokit.domino:domino-gwt-view:jar -> duplicate declaration of version (?) @ line 85, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
> Task :client:dependencies
------------------------------------------------------------
Project :client
------------------------------------------------------------
annotationProcessor - Annotation processors and their dependencies for source set 'main'.
+--- com.github.nalukit:nalu-processor:2.0.1-SNAPSHOT
| +--- com.github.nalukit:nalu:2.0.1-SNAPSHOT
public final class SimpleBeanBeanJsonSerializerImpl extends AbstractBeanJsonSerializer<SimpleBean> {
public SimpleBeanBeanJsonSerializerImpl() {
}
@Override
public Class getSerializedType() {
return SimpleBean.class;
}
@Override