Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbateman2007-01-11 19:26:45 +0000
committercbateman2007-01-11 19:26:45 +0000
commitd4ba011a81d9bf8517c2b05855cbee0db128d62f (patch)
tree324173c0ad6c0fcd81a4bf68dd2a96fc4704ebf7 /jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter
parent90c05155d6e20d6b2b92680b93d449013e85606b (diff)
downloadwebtools.jsf-d4ba011a81d9bf8517c2b05855cbee0db128d62f.tar.gz
webtools.jsf-d4ba011a81d9bf8517c2b05855cbee0db128d62f.tar.xz
webtools.jsf-d4ba011a81d9bf8517c2b05855cbee0db128d62f.zip
- re-organized the context menu structure vis http://wiki.eclipse.org/index.php/Canvas_Context_Menus
- enabled flyout palette on editor - changed facet conversion to be inline div in the design mode - switched the artificial separation padding to use padding insets instead of margin insets.
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter')
-rw-r--r--jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/TagConverterToInlineBlock.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/TagConverterToInlineBlock.java b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/TagConverterToInlineBlock.java
index 3e4a41400..a111932a2 100644
--- a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/TagConverterToInlineBlock.java
+++ b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/TagConverterToInlineBlock.java
@@ -28,14 +28,15 @@ import org.w3c.dom.Element;
* @see org.eclipse.jst.pagedesigner.css2.style.ITagEditInfo#getMinWidth()
*/
public class TagConverterToInlineBlock extends AbstractTagConverter {
- private int model;
+ private int displayMode;
/**
* @param host
+ * @param mode
*/
- public TagConverterToInlineBlock(Element host, int model) {
+ public TagConverterToInlineBlock(Element host, int mode) {
super(host);
- this.model = model;
+ this.displayMode = mode;
}
/*
@@ -45,7 +46,7 @@ public class TagConverterToInlineBlock extends AbstractTagConverter {
*/
protected Element doConvertRefresh() {
Element result = null;
- if (model == IConverterFactory.MODE_PREVIEW) {
+ if (displayMode == IConverterFactory.MODE_PREVIEW) {
result = createElement("span");
copyChildren(getHostElement(), result);
} else {

Back to the top