code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
package annotations.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(value=ElementType.METHOD)
@Retention(value= RetentionPolicy.RUNTIME)
public @interface StartObject {
} | Java |
package annotations.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(value=ElementType.METHOD)
@Retention(value= RetentionPolicy.RUNTIME)
public @interface StopObject {
} | Java |
package annotations.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(value=ElementType.TYPE)
@Retention(value= RetentionPolicy.RUNTIME)
public @interface ControlledObject {
S... | Java |
package annotations;
import java.lang.reflect.Method;
import annotations.api.ControlledObject;
import annotations.api.StartObject;
import annotations.api.StopObject;
public class Main
{
public static void main(String[] args) throws ClassNotFoundException
{
Class<?> class1 = Class.forName(... | Java |
package annotations;
import annotations.api.ControlledObject;
import annotations.api.StartObject;
import annotations.api.StopObject;
@ControlledObject(name="biscuits")
public class Cookies {
@StartObject
public void createCookie(){
}
@StopObject
public void stopCooki... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
package com.google.samples.meetingscheduler.adapter;
import com.google.samples.meetingscheduler.R;
import com.google.samples.meetingscheduler.model.Attendee;
import com.google.samples.meetingscheduler.util.AttendeeComparator;
import android.content.Context;
import android.graphics.Color;
import android.net.Uri;
impor... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
package com.google.samples.meetingscheduler.util;
import com.google.samples.meetingscheduler.model.Attendee;
import java.util.Comparator;
/**
* Comparator used to sort a list of attendees. The attendees are sorted
* alphabetically and from selected to unselected.
*
* @author Alain Vongsouvanh (alainv@google.com... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.samples.meetingscheduler.util;
import com.google.api.client.extensions.android2.AndroidHttp;
import com.google.api.client.googleapis.auth.oauth2.draft10.GoogleAccessProtectedResource;
import com.google.api.client.http.HttpTransport;
import com.goog... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.samples.meetingscheduler.model;
/**
* Constants used by the Meeting Scheduler application.
*
* @author Alain Vongsouvanh (alainv@google.com)
*/
public class Constants {
/**
* Should be used by all log statements
*/
public static fina... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.samples.meetingscheduler.activity;
import com.google.samples.meetingscheduler.R;
import com.google.samples.meetingscheduler.model.Constants;
import com.google.samples.meetingscheduler.util.OAuthManager;
import com.google.samples.meetingscheduler.ut... | Java |
package org.naba.mdlwr.data;
public class InputData {
private String username;
private String password;
private String serviceId;
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getServiceId() {
return serviceId;
}
... | Java |
package org.naba.mdlwr.data;
import java.util.Date;
public class OutputData {
private String title;
private String description;
private Date publishDate;
private String originalSource;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description... | Java |
package org.naba.mdlwr.endpoint;
import org.naba.mdlwr.data.*;
import org.naba.mdlwr.pojo.*;
import org.springframework.remoting.jaxrpc.ServletEndpointSupport;
public class SpringWSEndPoint extends ServletEndpointSupport implements ITestSpringWS {
private ITestSpringWS springWS;
protected void onInit() {
this.sp... | Java |
package org.naba.mdlwr.pojo;
import org.naba.mdlwr.data.*;
public interface ITestSpringWS {
public OutputData fetchContent(InputData in);
}
| Java |
package org.naba.mdlwr.pojo;
import org.naba.mdlwr.data.*;
import java.util.Date;
public class TestSpringWS implements ITestSpringWS {
public OutputData fetchContent(InputData in) {
OutputData out = new OutputData();
out.setTitle("Title here");
out.setDescription("Description here");
out.setPublishDate(new ... | Java |
package com.ecomcs.annuaire;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.Writer;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.GeneralSecurityException;
import com.google.appengine.api.oauth.OAuthService;
import com.google.appengine.api.oauth.OAu... | Java |
package com.ecomcs.annuaire;
import java.io.IOException;
import javax.servlet.http.*;
import com.google.gdata.util.AuthenticationException;
//@SuppressWarnings("serial")
public class AnnuaireServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOExcep... | Java |
package annotationtablemodel;
import javax.swing.SwingUtilities;
/**
*
* @author Dmitry
*/
public class AnnotationTableModel {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
... | Java |
package annotationtablemodel;
import annotationtablemodel.suppx.ems.annotatedtable.annotations.AnnotatedTableField;
import annotationtablemodel.suppx.ems.annotatedtable.annotations.AnnotatedTableFieldType;
/**
* @author Dmitry Savchenko
*/
public class User {
public static final int NAME=0;
public static fi... | Java |
package annotationtablemodel.suppx.ems.annotatedtable;
/**
*
* @author Dmitry
*/
public enum COLUMNTYPE {
STRING, INTEGER, DOUBLE, BOOLEAN, CURRENCY, PERCENT, DATE, TIMESTAMP, NULL
}
| Java |
package annotationtablemodel.suppx.ems.annotatedtable;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.AbstractTableModel;
/**
* @author Dmitry Savchenko
*/
public class AnnotatedTableModel<T> extends AbstractTableModel {
private ClassData classData;
private ColumnData[] visible... | Java |
package annotationtablemodel.suppx.ems.annotatedtable;
import annotationtablemodel.suppx.ems.annotatedtable.annotations.AnnotatedTableField;
import annotationtablemodel.suppx.ems.annotatedtable.annotations.AnnotatedTableFieldType;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayL... | Java |
package annotationtablemodel.suppx.ems.annotatedtable;
import javax.swing.JTable;
/**
* @author Dmitry Savchenko
*/
public class AnnotatedTable extends JTable{
public AnnotatedTable() {
init();
}
private void init() {
}
public static AnnotatedTable createAnnotatedTable(Class clazz... | Java |
package annotationtablemodel.suppx.ems.annotatedtable.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
*
* @author Dmitry
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface AnnotatedTableField {
String column();
int id();
}
| Java |
package annotationtablemodel.suppx.ems.annotatedtable.annotations;
import annotationtablemodel.suppx.ems.annotatedtable.COLUMNTYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* @author Dmitry
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface AnnotatedTableFieldTyp... | Java |
package annotationtablemodel.suppx.ems.annotatedtable;
import java.lang.reflect.Method;
/**
* @author Dmitry Savchenko
*/
public class ColumnData {
private String columnName;
private int id;
private Method setter;
private Method getter;
private Method visualFormatter;
private COLUMNTYPE col... | Java |
package annotationtablemodel;
import annotationtablemodel.suppx.ems.annotatedtable.AnnotatedTableModel;
import java.awt.BorderLayout;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JDialog;
import javax.swing.JTable;
/**
* @author Dmitry Savchenko
*/
public class MainDialog extends JDialog {
... | Java |
package com.soladhoc.annonces.client.place;
public class NameTokens {
public static final String main = "main";
public static final String oauth = "oauth";
public static final String annonce = "annonce";
public static final String listannonces = "listannonces";
public static String getMain() {
retur... | Java |
package com.soladhoc.annonces.client.place;
import com.google.inject.BindingAnnotation;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.METHOD;
import java.lang.anno... | Java |
package com.soladhoc.annonces.client.place;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.i18n.client.NumberFormat;
public interface Defaults
{
String DATE_TIME_PATTERN = "dd.MM.yyyy HH:mm:ss.SSS Z";
// TODO Replace with user setting
DateTimeFormat DATE_FORMAT = DateTi... | Java |
package com.soladhoc.annonces.client.place;
import com.gwtplatform.mvp.client.proxy.PlaceManagerImpl;
import com.gwtplatform.mvp.client.proxy.PlaceRequest;
import com.soladhoc.annonces.client.place.DefaultPlace;
import com.google.inject.Inject;
import com.google.gwt.event.shared.EventBus;
import com.gwtplatform... | Java |
package com.soladhoc.annonces.client.gin;
import com.google.inject.Provides;
import com.google.inject.Singleton;
import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;
import com.gwtplatform.mvp.client.gin.DefaultModule;
import com.soladhoc.annonces.client.place.ClientPlaceManager;
import com.soladhoc.a... | Java |
package com.soladhoc.annonces.client.gin;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.inject.client.AsyncProvider;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.gwtplatform.dispatch.client.gin.DispatchAsyncModule;
import com.gwtp... | Java |
package com.soladhoc.annonces.client.event;
import com.gwtplatform.dispatch.annotation.GenEvent;
import com.gwtplatform.dispatch.annotation.Order;
import com.soladhoc.annonces.shared.proxy.AnnonceProxy;
@GenEvent
public class AnnonceAction {
public static enum Action {
DETAIL,
EDIT,
DELETE,
ADD... | Java |
package com.soladhoc.annonces.client.view;
import java.util.ArrayList;
import com.gwtplatform.mvp.client.HasUiHandlers;
import com.gwtplatform.mvp.client.View;
import com.soladhoc.annonces.client.ui.AnnoncesUiHandlers;
import com.soladhoc.annonces.shared.proxy.AnnonceProxy;
public interface AnnonceListView ... | Java |
package com.soladhoc.annonces.client.view;
import java.util.ArrayList;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Widget;
import com.soladhoc.annonces.client.resources.Resources;
im... | Java |
package com.soladhoc.annonces.client.view;
import com.google.gwt.uibinder.client.UiHandler;
import com.google.gwt.user.client.ui.Widget;
import com.gwtplatform.mvp.client.ViewWithUiHandlers;
import com.soladhoc.annonces.client.AnnoncesAdhoc;
import com.soladhoc.annonces.client.resources.Resources;
import com.so... | Java |
package com.soladhoc.annonces.client.view.ui;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.soladhoc.annonces.shared.proxy.AnnonceProxy;
public abstract class AnnonceTextRenderer extends AnnonceRenderer
{
@Override
public SafeHtml render(AnnonceProxy activity)
{
String value = getValu... | Java |
package com.soladhoc.annonces.client.view.ui;
import com.google.gwt.cell.client.AbstractSafeHtmlCell;
import com.google.gwt.cell.client.Cell;
import com.google.gwt.cell.client.ValueUpdater;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.safehtml.shared.Saf... | Java |
package com.soladhoc.annonces.client.view.ui;
import com.google.gwt.cell.client.Cell;
import com.google.gwt.text.shared.SafeHtmlRenderer;
import com.google.gwt.user.cellview.client.Column;
import com.soladhoc.annonces.shared.proxy.AnnonceProxy;
public class AnnonceColumn extends Column<AnnonceProxy, AnnonceProxy>
{
... | Java |
package com.soladhoc.annonces.client.view.ui;
import com.google.gwt.text.shared.AbstractSafeHtmlRenderer;
import com.soladhoc.annonces.shared.proxy.AnnonceProxy;
public abstract class AnnonceRenderer extends AbstractSafeHtmlRenderer<AnnonceProxy>
{
}
| Java |
package com.soladhoc.annonces.client.view.ui;
import static com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy.KeyboardSelectionPolicy.DISABLED;
import java.util.List;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.sh... | Java |
package com.soladhoc.annonces.client.view.ui;
import com.google.gwt.user.cellview.client.CellTable;
public interface AnnonceCellTableResources extends CellTable.Resources {
public interface AnnonceCellTableStyle extends CellTable.Style {
String titleColumn();
String textColumn();
String creationDateColumn();... | Java |
package com.soladhoc.annonces.client;
import com.google.gwt.core.client.EntryPoint;
import com.soladhoc.annonces.client.gin.ClientGinjector;
import com.google.gwt.core.client.GWT;
import com.gwtplatform.mvp.client.DelayedBindRegistry;
public class AnnoncesAdhoc implements EntryPoint {
public static final C... | Java |
package com.soladhoc.annonces.client.resources;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.resources.client.ImageResource.ImageOptions;
import com.google.gwt.resources.client.ImageR... | Java |
package com.soladhoc.annonces.client.ui;
import java.util.Date;
import com.soladhoc.annonces.client.place.Defaults;
public final class FormatUtils
{
private FormatUtils()
{
}
public static String date(Date date)
{
if (date != null)
{
return Defaults.... | Java |
package com.soladhoc.annonces.client.ui;
import com.gwtplatform.mvp.client.ViewImpl;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.google.gwt.uibinder.client.UiFiel... | Java |
package com.soladhoc.annonces.client.ui;
import com.google.api.gwt.oauth2.client.Auth;
import com.google.api.gwt.oauth2.client.AuthRequest;
import com.google.api.gwt.oauth2.client.Callback;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.... | Java |
package com.soladhoc.annonces.client.ui;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.Button;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.Presenter;... | Java |
package com.soladhoc.annonces.client.ui;
import com.gwtplatform.mvp.client.UiHandlers;
import com.soladhoc.annonces.shared.proxy.AnnonceProxy;
public interface AnnoncesUiHandlers extends UiHandlers {
void onDetail(AnnonceProxy annonce);
}
| Java |
package com.soladhoc.annonces.client.ui;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.event.shared.GwtEvent.Type;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.annotations.ContentSlot;... | Java |
package com.soladhoc.annonces.client.ui;
import java.util.ArrayList;
import com.google.gwt.event.shared.EventBus;
import com.google.inject.Inject;
import com.google.web.bindery.requestfactory.shared.Receiver;
import com.google.web.bindery.requestfactory.shared.Request;
import com.gwtplatform.mvp.client.Presen... | Java |
package com.soladhoc.annonces.client.ui;
import com.google.gwt.cell.client.AbstractCell;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.cellview.client.CellList;
import com.google.gw... | Java |
package com.soladhoc.annonces.client.ui;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RichTextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.... | Java |
package com.soladhoc.annonces.shared.service;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.RequestFactory;
import com.google.web.bindery.requestfactory.shared.Service;
import co... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.