diff --git a/org.adempiere.base/src/org/compiere/model/MLookup.java b/org.adempiere.base/src/org/compiere/model/MLookup.java index ff1c6c464d..c27769eea2 100644 --- a/org.adempiere.base/src/org/compiere/model/MLookup.java +++ b/org.adempiere.base/src/org/compiere/model/MLookup.java @@ -676,6 +676,14 @@ public final class MLookup extends Lookup implements Serializable return false; } + /** + * @return lookup info + */ + public MLookupInfo getLookupInfo() + { + return m_info; + } + /************************************************************************** * MLookup Loader */ diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/FeedbackRequestWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/FeedbackRequestWindow.java index 89de9f4d7f..f0043874b7 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/FeedbackRequestWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/FeedbackRequestWindow.java @@ -75,12 +75,12 @@ public class FeedbackRequestWindow extends Window implements EventListener attachments = new ArrayList(); - private Div attachmentBox; + protected List attachments = new ArrayList(); + protected Div attachmentBox; public FeedbackRequestWindow() { @@ -224,51 +224,7 @@ public class FeedbackRequestWindow extends Window implements EventListener{ + protected static class EmailSupportAction implements EventListener{ private boolean errorOnly; @@ -96,7 +96,7 @@ public class DefaultFeedbackService implements IFeedbackService { showEmailDialog(imageBytes); } - private void showEmailDialog(byte[] imageBytes) { + protected void showEmailDialog(byte[] imageBytes) { DataSource ds = FeedbackManager.getLogAttachment(errorOnly); WEMailDialog dialog = new WEMailDialog( @@ -122,7 +122,7 @@ public class DefaultFeedbackService implements IFeedbackService { } } - private static class CreateNewRequestAction implements EventListener{ + protected static class CreateNewRequestAction implements EventListener{ protected CreateNewRequestAction() { SessionManager.getAppDesktop().getComponent().addEventListener("onCreateFeedbackRequest", this); @@ -152,7 +152,7 @@ public class DefaultFeedbackService implements IFeedbackService { showRequestDialog(imageBytes); } - private void showRequestDialog(byte[] imageBytes) { + protected void showRequestDialog(byte[] imageBytes) { FeedbackRequestWindow window = new FeedbackRequestWindow(); AEnv.showWindow(window);