Author: dmaliarevich
Date: 2009-06-24 07:21:33 -0400 (Wed, 24 Jun 2009)
New Revision: 16183
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4513, fixed, maximized control state is set in
new sash container.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2009-06-24
09:52:40 UTC (rev 16182)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2009-06-24
11:21:33 UTC (rev 16183)
@@ -854,6 +854,14 @@
previewContent.setParent(newContainer);
/*
+ *
https://jira.jboss.org/jira/browse/JBIDE-4513
+ * New container should have all properties from the old container set.
+ */
+ if (null != container.getMaximizedControl()) {
+ newContainer.setMaximizedControl(container.getMaximizedControl());
+ }
+
+ /*
* Dispose the old container:
* it'll be excluded from parent composite's layout.
*/