text
stringlengths
3
1.18M
package org.dodgybits.shuffle.android.list.view.project; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.os.Parcelable; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android.sup...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Context; import android.os.Parcel; import android.os.Parcelable; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle...
package org.dodgybits.shuffle.android.list.view.task; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.*; import android.graphics.drawable.Drawable; import android.text.*; import android.text.format.DateUtils; import android.text.style.ForegroundColorSpan; import ...
package org.dodgybits.shuffle.android.list.view.task; import android.app.Activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.os.Parcelable; import android.support.v4.app.LoaderManager; import andro...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Context; import android.util.SparseArray; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.androi...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Context; import android.database.Cursor; import android.os.Bundle; import android.support.v4.content.CursorLoader; import android.support.v4.content.Loader; import android.support.v4.widget.CursorAdapter; import android.util.Log; import andro...
package org.dodgybits.shuffle.android.list.view.task; import android.os.Parcel; import com.google.common.base.Function; import com.google.common.collect.Lists; import org.dodgybits.shuffle.android.core.model.persistence.selector.TaskSelector; import org.dodgybits.shuffle.android.list.model.ListQuery; import org.dodgyb...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.ArrayAdapter; import android.widget.SpinnerAdapter; import com.google.common.base.Function; import com.google.common.collect.Lists; import org.dodgybits.shuffle....
package org.dodgybits.shuffle.android.list.view.context; import android.graphics.drawable.GradientDrawable; import android.util.AttributeSet; import android.util.SparseIntArray; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import and...
package org.dodgybits.shuffle.android.list.view.context; import android.content.Context; import android.database.Cursor; import android.support.v4.widget.CursorAdapter; import android.util.SparseIntArray; import android.view.View; import android.view.ViewGroup; import com.google.inject.Inject; import org.dodgybits.shu...
package org.dodgybits.shuffle.android.list.view.context; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.os.Parcelable; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android.sup...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditProjectEvent { private Id mProjectId; public EditProjectEvent(Id projectId) { this.mProjectId = projectId; } public Id getProjectId() { return mProjectId; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditContextEvent { private Id mContextId; public EditContextEvent(Id contextId) { mContextId = contextId; } public Id getContextId() { return mContextId; } }
package org.dodgybits.shuffle.android.list.event; import com.google.common.collect.Sets; import java.util.Set; public class UpdateTasksCompletedEvent { private Set<Long> mTaskIds; private boolean mCompleted; public UpdateTasksCompletedEvent(Set<Long> taskIds, boolean completed) { mTaskIds = task...
package org.dodgybits.shuffle.android.list.event; public class EditNewProjectEvent { }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class UpdateProjectDeletedEvent { private Id mProjectId; private Boolean mDeleted; public UpdateProjectDeletedEvent(Id projectId) { mProjectId = projectId; } public UpdateProjectD...
package org.dodgybits.shuffle.android.list.event; public class QuickAddEvent { private String mValue; public QuickAddEvent(String value) { mValue = value; } public String getValue() { return mValue; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class ViewContextEvent { private Id mContextId; private int mPosition; public ViewContextEvent(Id contextId) { this(contextId, -1); } public ViewContextEvent(Id contextId, int pos...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditNewTaskEvent { private Id mContextId; private Id mProjectId; private String mDescription; public EditNewTaskEvent(Id contextId, Id projectId, String description) { this(...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class UpdateContextDeletedEvent { private Id mContextId; private Boolean mDeleted = null; public UpdateContextDeletedEvent(Id contextId) { mContextId = contextId; } public UpdateC...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class ViewProjectEvent { private Id mProjectId; private int mPosition; public ViewProjectEvent(Id projectId) { this(projectId, -1); } public ViewProjectEvent(Id projectId, int pos...
package org.dodgybits.shuffle.android.list.event; import android.support.v4.app.Fragment; import org.dodgybits.shuffle.android.list.model.ListQuery; public class EditListSettingsEvent { private ListQuery mListQuery; private final Fragment mFragment; private int mRequestCode; public EditListSettingsEv...
package org.dodgybits.shuffle.android.list.event; public class NewProjectEvent { private String mName; public NewProjectEvent(String name) { mName = name; } public String getName() { return mName; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.list.model.ListQuery; public class ViewHelpEvent { private ListQuery mListQuery; public ViewHelpEvent() { } public ViewHelpEvent(ListQuery query) { mListQuery = query; } public ListQuery getListQ...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditTaskEvent { private Id mTaskId; public EditTaskEvent(Id taskId) { mTaskId = taskId; } public Id getTaskId() { return mTaskId; } }
package org.dodgybits.shuffle.android.list.event; public class NewContextEvent { private String mName; public NewContextEvent(String name) { mName = name; } public String getName() { return mName; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class NewTaskEvent { private Id mContextId = Id.NONE; private Id mProjectId = Id.NONE; private String mDescription; public NewTaskEvent(String description, Id contextId, Id projectId) { ...
package org.dodgybits.shuffle.android.list.event; import android.database.Cursor; import com.google.common.collect.Sets; import java.util.Set; public class MoveTasksEvent { private Set<Long> mTaskIds; private boolean mMoveUp; private Cursor mCursor; public MoveTasksEvent(Set<Long> taskIds, boole...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.list.model.ListQuery; public class ListSettingsUpdatedEvent { private ListQuery mListQuery; public ListSettingsUpdatedEvent(ListQuery listQuery) { mListQuery = listQuery; } public ListQuery getListQuery() ...
package org.dodgybits.shuffle.android.list.event; public class EditNewContextEvent { }
package org.dodgybits.shuffle.android.list.event; public class ViewPreferencesEvent { public ViewPreferencesEvent() { } }
package org.dodgybits.shuffle.android.list.event; public class StartSynchEvent { public StartSynchEvent() { } }
package org.dodgybits.shuffle.android.list.event; import com.google.common.collect.Sets; import java.util.Set; public class UpdateTasksDeletedEvent { private Set<Long> mTaskIds; private boolean mDeleted; public UpdateTasksDeletedEvent(Set<Long> taskIds, boolean deleted) { mTaskIds = taskIds; ...
package org.dodgybits.shuffle.android.list.model; import android.content.Context; import android.content.Intent; import org.dodgybits.shuffle.android.core.model.persistence.selector.Flag; import org.dodgybits.shuffle.android.list.activity.ListSettingsEditorActivity; import org.dodgybits.shuffle.android.preference.mode...
package org.dodgybits.shuffle.android.list.model; public enum ListQuery { all, inbox, nextTasks, dueToday, dueNextWeek, dueNextMonth, tickler, context, project, custom }
package org.dodgybits.shuffle.android.list.model; import org.dodgybits.android.shuffle.R; import java.util.HashMap; public class ListTitles { private static final HashMap<ListQuery,Integer> TITLE_ID_MAP = new HashMap<ListQuery,Integer>(); static { TITLE_ID_MAP.put(ListQuery.all, R.strin...
package org.dodgybits.shuffle.android.list.activity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.preference.*; import android.util.Log; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.util.Constants; import org.dodgybits.shuf...
package org.dodgybits.shuffle.android.list.activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.util.Log; imp...
package org.dodgybits.shuffle.android.list.activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app....
package org.dodgybits.shuffle.android.list.activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app....
package org.dodgybits.shuffle.android.preference.view; public class Progress { private int mProgressPercent; private String mDetails; private boolean mIsError; private Runnable mErrorUIAction; public static Progress createProgress(int progressPercent, String details) { return new Progress(progressPercent, det...
package org.dodgybits.shuffle.android.preference.model; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import org.dodgybits.shuffle.android.core.model.Id; import org...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
package org.dodgybits.shuffle.android.preference.activity; import org.dodgybits.shuffle.android.core.activity.flurry.FlurryEnabledActivity; import org.dodgybits.shuffle.android.synchronisation.gae.AccountsActivity; import android.content.Intent; import android.os.Bundle; public class PreferencesAppEngineSynchronizat...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
package org.dodgybits.shuffle.android.preference.activity; import android.content.SharedPreferences; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.widget.*; import org.apache.http.HttpStatus; import org.dodgy...
package org.dodgybits.shuffle.android.preference.activity; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.os.En...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
package org.dodgybits.shuffle.android.preference.activity; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.os.Environment; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.widget.*; import com.google.common.collect.Se...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqli...
package org.dodgybits.shuffle.android.persistence.migrations; import android.database.sqlite.SQLiteDatabase; public interface Migration { public void migrate(SQLiteDatabase db); }
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ReminderProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqlite.SQLiteDatabase; public class V11Migration implements Migration { ...
package org.dodgybits.shuffle.android.persistence.migrations; import static org.dodgybits.shuffle.android.persistence.provider.ContextProvider.CONTEXT_TABLE_NAME; import android.database.sqlite.SQLiteDatabase; public class V9Migration implements Migration { @Override public void migrate(SQLiteDatabase db) ...
package org.dodgybits.shuffle.android.persistence.migrations; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.provider.BaseColumns; import android.util.Log; import java.util.HashMap; import java.util.Map; import java.util.Se...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sq...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqli...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import android.database.sqlite.SQLiteDatabase; public class V13Migration implements Migration { @Override public void migrate(SQLiteDatabase db) { // Shuffle v1.4...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.AbstractCollectionProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.da...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqlite.SQLiteDatabase; public class V10Migration implements Migration { @Override public void migrate(SQLiteDatabase db) { // Shuffle v1.1 (1st ...
package org.dodgybits.shuffle.android.persistence.migrations; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.google.common.collect.Sets; import org.dodgybits.shuffle.android.persistence.provider.TaskProvide...
package org.dodgybits.shuffle.android.persistence.provider; import android.net.Uri; public class ReminderProvider extends AbstractCollectionProvider { private static final String AUTHORITY = Shuffle.PACKAGE+".reminderprovider"; public static final String cUpdateIntent = "org.dodgybits.shuffle.android.REM...
package org.dodgybits.shuffle.android.persistence.provider; import android.net.Uri; import android.provider.BaseColumns; public class ContextProvider extends AbstractCollectionProvider { public static final String CONTEXT_TABLE_NAME = "context"; public static final String UPDATE_INTENT = "org.dodgybits...
package org.dodgybits.shuffle.android.persistence.provider; import android.content.ContentUris; import android.content.ContentValues; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; import android.pr...
/** * */ package org.dodgybits.shuffle.android.persistence.provider; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import org.dodgybits.shuffle.android.persistence.migrations.*; import java.util.Se...
package org.dodgybits.shuffle.android.persistence.provider; import android.app.SearchManager; import android.content.*; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri;...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * 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...
package org.dodgybits.shuffle.android.persistence.provider; import android.net.Uri; import android.provider.BaseColumns; public class ProjectProvider extends AbstractCollectionProvider { public static final String PROJECT_TABLE_NAME = "project"; public static final String UPDATE_INTENT = "org.dodg...
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
package org.dodgybits.shuffle.android.widget; import android.appwidget.AppWidgetManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; public class RoboAppWidgetProvider extends RoboBroadcastReceiver { @Override protected void handleReceive(Context context, Intent i...
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
/* * Copyright (C) 2011 The Android Open Source Project * * 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 app...
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
/* * Copyright (C) 2011 The Android Open Source Project * * 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 app...
package org.dodgybits.shuffle.android.widget; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.*; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.view.IconNameCountListAdaptor; import org.dodgybits.shuffle.android.core.view.ListIcons; ...
package org.dodgybits.shuffle.android.widget; import android.app.Dialog; import android.appwidget.AppWidgetManager; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import com.google.inject.Inject; import org.dodgybits...
/* * Copyright (C) 2011 The Android Open Source Project * * 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 app...
package org.dodgybits.shuffle.android.widget; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; import android.widget.RelativeLayout; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android....
package org.dodgybits.shuffle.android.widget; import roboguice.RoboGuice; import roboguice.inject.RoboInjector; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; /** * To ensure proper ContextScope usage, override the handleReceive method * * Replace with rob...
package org.dodgybits.shuffle.gwt.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.google.inject.Provider; import com.gwtplatform.dispatch.client.gin.DispatchAsy...
package org.dodgybits.shuffle.gwt.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 org.dodgybits.shuffle.client.ShuffleRequestFactory; import org.dodgybits.shuffle.gwt.c...
package org.dodgybits.shuffle.gwt.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.annotat...
package org.dodgybits.shuffle.gwt.place; import com.gwtplatform.mvp.client.proxy.PlaceManagerImpl; import com.gwtplatform.mvp.client.proxy.PlaceRequest; import com.google.inject.Inject; import com.google.gwt.event.shared.EventBus; import com.gwtplatform.mvp.client.proxy.TokenFormatter; public class ClientPlac...
package org.dodgybits.shuffle.gwt.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.annotat...
package org.dodgybits.shuffle.gwt.place; public class NameTokens { public static final String error = "!error"; public static final String help = "!help"; public static final String taskList = "!actions"; public static final String projects = "!projects"; public static final String restoreFromBackup = "!...
package org.dodgybits.shuffle.gwt.settings; import com.google.gwt.event.shared.EventBus; import com.google.inject.Inject; import com.gwtplatform.mvp.client.Presenter; import com.gwtplatform.mvp.client.View; import com.gwtplatform.mvp.client.annotations.NameToken; import com.gwtplatform.mvp.client.annotations.ProxyCode...
package org.dodgybits.shuffle.gwt.settings; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.uibinder.client.UiHandler; import com.google.gwt.user.client.Window;...
package org.dodgybits.shuffle.gwt.formatter; import java.util.Date; import com.google.gwt.i18n.client.DateTimeFormat; public class ActionDateFormatter { private DateTimeFormat dateFormat; public ActionDateFormatter() { dateFormat = DateTimeFormat.getFormat("d MMM"); } public String getShortDate(Date date) {...
package org.dodgybits.shuffle.gwt.core; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.client.ui.HTMLPanel; import com.google.gwt.user.client.ui.Widget; import com.google.inject.Inject; import com.gwtplatform.mvp.client.ViewImpl; publ...
package org.dodgybits.shuffle.gwt.core.tasklist; import com.google.gwt.view.client.HasData; import com.gwtplatform.mvp.client.UiHandlers; import org.dodgybits.shuffle.shared.TaskProxy; public interface TaskListUiHandlers extends UiHandlers { void onEditAction(int index, TaskProxy proxy); void setDisplay(HasD...
package org.dodgybits.shuffle.gwt.core.tasklist; import com.google.gwt.cell.client.CheckboxCell; import com.google.gwt.cell.client.ClickableTextCell; import com.google.gwt.cell.client.FieldUpdater; import com.google.gwt.cell.client.TextCell; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.clien...
package org.dodgybits.shuffle.gwt.core.tasklist; import com.google.gwt.event.shared.EventBus; import com.google.gwt.view.client.HasData; import com.google.inject.Inject; import com.google.inject.Provider; import com.google.web.bindery.requestfactory.shared.RequestFactory; import com.gwtplatform.mvp.client.HasUi...
/* * Copyright 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 to i...
package org.dodgybits.shuffle.gwt.core; import com.gwtplatform.mvp.client.UiHandlers; public interface NavigationUiHandlers extends UiHandlers { void onNewAction(); }
package org.dodgybits.shuffle.gwt.core; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.uibinder.client.UiHandler; import com.google.gwt.user.client.ui.*; import com.google.inject.Inject; imp...