2012-07-09 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/About.java, src/pandroid_event_viewer/pandorafms/Options.java, src/pandroid_event_viewer/pandorafms/EventList.java, src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java, src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java, src/pandroid_event_viewer/pandorafms/Main.java: erased the preprocesor "@Override" for to avoid error messages in a compiler with default configs. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5eb4d7f6c6
commit
ca389b1a06
|
@ -1,3 +1,14 @@
|
|||
2012-07-09 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* src/pandroid_event_viewer/pandorafms/About.java,
|
||||
src/pandroid_event_viewer/pandorafms/Options.java,
|
||||
src/pandroid_event_viewer/pandorafms/EventList.java,
|
||||
src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java,
|
||||
src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
|
||||
src/pandroid_event_viewer/pandorafms/Main.java: erased the
|
||||
preprocesor "@Override" for to avoid error messages in a compiler
|
||||
with default configs.
|
||||
|
||||
2012-07-06 Santiago Munín <burning1@gmail.com>
|
||||
* src/pandroid_event_viewer/pandorafms/Core.java: Service will only start if options were configured.
|
||||
* src/pandroid_event_viewer/pandorafms/API.java: Removed a //TODO comment.
|
||||
|
|
|
@ -33,7 +33,7 @@ import android.widget.TextView;
|
|||
*/
|
||||
public class About extends Activity {
|
||||
|
||||
@Override
|
||||
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
|
@ -47,7 +47,6 @@ public class About extends Activity {
|
|||
CheckBox check_show = (CheckBox) findViewById(R.id.dont_show_again_extended);
|
||||
|
||||
check_show.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
CheckBox check_show = (CheckBox) v;
|
||||
if (check_show.isChecked()) {
|
||||
|
|
|
@ -53,7 +53,6 @@ public class CreateIncidentActivity extends Activity {
|
|||
((Button) findViewById(R.id.incident_create_button))
|
||||
.setOnClickListener(new OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (title != null && title.length() > 0) {
|
||||
dialog = ProgressDialog
|
||||
|
|
|
@ -278,22 +278,18 @@ public class EventList extends ListActivity {
|
|||
showLoadingEvents = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
return this.object.eventList.size() + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getItem(int position) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getItemId(int position) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public View getView(int position, View convertView, ViewGroup parent) {
|
||||
View view;
|
||||
|
||||
|
@ -330,7 +326,7 @@ public class EventList extends ListActivity {
|
|||
}
|
||||
|
||||
button.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
||||
public void onClick(View v) {
|
||||
object.offset += object.pagination;
|
||||
loadMoreEvents();
|
||||
|
@ -500,7 +496,6 @@ public class EventList extends ListActivity {
|
|||
.findViewById(R.id.create_incident_button))
|
||||
.setOnClickListener(new OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(
|
||||
getBaseContext(),
|
||||
|
@ -598,7 +593,6 @@ public class EventList extends ListActivity {
|
|||
this.object = object;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onClick(View arg0) {
|
||||
EventListItem item = this.object.eventList.get(mPosition);
|
||||
item.opened = !item.opened;
|
||||
|
@ -616,7 +610,6 @@ public class EventList extends ListActivity {
|
|||
private class OnClickListenerButtonValidate implements OnClickListener {
|
||||
public int id_event;
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent i = new Intent(getApplicationContext(),
|
||||
PopupValidationEvent.class);
|
||||
|
|
|
@ -148,21 +148,18 @@ public class Main extends Activity {
|
|||
combo = (Spinner) findViewById(R.id.profile_combo);
|
||||
combo.setOnItemSelectedListener(new OnItemSelectedListener() {
|
||||
|
||||
@Override
|
||||
public void onItemSelected(AdapterView<?> parent, View view,
|
||||
int pos, long id) {
|
||||
String selected = parent.getItemAtPosition(pos).toString();
|
||||
setProfile(selected);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNothingSelected(AdapterView<?> arg0) {
|
||||
}
|
||||
});
|
||||
((ImageView) findViewById(R.id.delete_profile))
|
||||
.setOnClickListener(new OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
String profileName = ((Spinner) findViewById(R.id.profile_combo))
|
||||
.getSelectedItem().toString();
|
||||
|
@ -180,14 +177,12 @@ public class Main extends Activity {
|
|||
combo.setSelection(preferences.getInt("filterLastTime", 6));
|
||||
|
||||
buttonReset.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
reset_form();
|
||||
}
|
||||
});
|
||||
|
||||
buttonSearch.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
search_form();
|
||||
}
|
||||
|
@ -196,18 +191,15 @@ public class Main extends Activity {
|
|||
buttonbuttonSetAsFilterWatcher
|
||||
.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
save_filter_watcher();
|
||||
}
|
||||
});
|
||||
buttonSaveProfile.setOnClickListener(new OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
final EditText profileName = new EditText(getBaseContext());
|
||||
DialogInterface.OnClickListener dialogClickListener = new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
switch (which) {
|
||||
case DialogInterface.BUTTON_POSITIVE:
|
||||
|
@ -260,7 +252,7 @@ public class Main extends Activity {
|
|||
cb.setChecked(preferences.getBoolean("show_advanced", false));
|
||||
cb.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onCheckedChanged(CompoundButton buttonView,
|
||||
boolean isChecked) {
|
||||
LinearLayout advancedOptions = (LinearLayout) findViewById(R.id.show_hide_layout);
|
||||
|
|
|
@ -96,7 +96,6 @@ public class Options extends Activity {
|
|||
|
||||
final Button button = (Button) findViewById(R.id.update_options);
|
||||
button.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
save_options();
|
||||
}
|
||||
|
@ -125,7 +124,6 @@ public class Options extends Activity {
|
|||
this.setNewRingtone(notificationSound, defaultSoundUri);
|
||||
|
||||
notificationSound.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Log.i(TAG, "Selecting ringtone");
|
||||
Intent intent = new Intent(
|
||||
|
@ -359,7 +357,7 @@ public class Options extends Activity {
|
|||
} else {
|
||||
if (!result) {
|
||||
DialogInterface.OnClickListener dialogClickListener = new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
switch (which) {
|
||||
case DialogInterface.BUTTON_NEGATIVE:
|
||||
|
|
|
@ -49,7 +49,6 @@ public class PopupValidationEvent extends Activity {
|
|||
final Button button = (Button) findViewById(R.id.button_validate_event);
|
||||
|
||||
button.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
validateEvent();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue