From 5cac05f69dc0f56407ceacd1b2df033207861b15 Mon Sep 17 00:00:00 2001 From: Maxime Biais Date: Tue, 10 Feb 2015 11:53:05 +0100 Subject: [PATCH] add getters for Title/Content --- .../org/wordpress/android/editor/EditorFragment.java | 12 ++++++++++++ .../android/editor/EditorFragmentAbstract.java | 3 +++ 2 files changed, 15 insertions(+) diff --git a/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragment.java b/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragment.java index 5c5c6cdf3d12..b14ab2adde8f 100644 --- a/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragment.java +++ b/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragment.java @@ -131,4 +131,16 @@ public void setTitle(CharSequence text) { public void setContent(CharSequence text) { // TODO } + + @Override + public CharSequence getTitle() { + // TODO + return null; + } + + @Override + public CharSequence getContent() { + // TODO + return null; + } } diff --git a/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragmentAbstract.java b/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragmentAbstract.java index 6359ea36e1f9..c7d437f95125 100644 --- a/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragmentAbstract.java +++ b/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragmentAbstract.java @@ -6,6 +6,9 @@ public abstract class EditorFragmentAbstract extends Fragment { public abstract void setTitle(CharSequence text); public abstract void setContent(CharSequence text); + public abstract CharSequence getTitle(); + public abstract CharSequence getContent(); + protected EditorFragmentListener mEditorFragmentListener; @Override