JBoss Tools SVN: r21015 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe: editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2010-03-25 05:56:39 -0400 (Thu, 25 Mar 2010)
New Revision: 21015
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5042
Enhance DnD support in VPE
- A little refactoring of VpeDnD and VpeController has been made
- Selection notification from VpeVisualDomBuilder to VpeDnD has been added
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java 2010-03-25 09:00:24 UTC (rev 21014)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java 2010-03-25 09:56:39 UTC (rev 21015)
@@ -40,6 +40,7 @@
import org.jboss.tools.vpe.editor.VpeVisualInnerDragInfo;
import org.jboss.tools.vpe.editor.VpeVisualInnerDropInfo;
import org.jboss.tools.vpe.editor.mozilla.MozillaDropInfo;
+import org.jboss.tools.vpe.editor.mozilla.MozillaEditor;
import org.jboss.tools.vpe.editor.mozilla.listener.MozillaDndListener;
import org.jboss.tools.vpe.editor.selection.VpeSelectionController;
import org.jboss.tools.vpe.editor.template.VpePseudoContentCreator;
@@ -100,15 +101,19 @@
private VpeController vpeController;
private VpeVisualInnerDragInfo innerDragInfo = null;
+ private DraggablePattern draggablePattern;
- public VpeDnD(VpeController vpeController) {
+ public VpeDnD(VpeController vpeController, MozillaEditor mozillaEditor) {
this.vpeController = vpeController;
+ this.draggablePattern = new DraggablePattern(mozillaEditor);
}
public void dragGesture(nsIDOMEvent domEvent) {
nsIDOMMouseEvent mouseEvent = (nsIDOMMouseEvent) domEvent
.queryInterface(nsIDOMMouseEvent.NS_IDOMMOUSEEVENT_IID);
- boolean canDragFlag = canInnerDrag(mouseEvent);
+ nsIDOMElement selectedElement = vpeController.getXulRunnerEditor()
+ .getLastSelectedElement();
+ boolean canDragFlag = isDraggable(selectedElement);
// start drag sessionvpe-element
if (canDragFlag) {
startDragSession(domEvent);
@@ -143,6 +148,10 @@
}
vpeController.onRefresh();
}
+
+ public void selectionChanged() {
+
+ }
/**
* Starts drag session
@@ -266,7 +275,7 @@
dropCommand.execute(dropData);
}
- private boolean canInnerDrag(nsIDOMMouseEvent event) {
+ private boolean isDraggable(nsIDOMElement element) {
vpeController.onHideTooltip();
if (VpeDebug.PRINT_VISUAL_INNER_DRAGDROP_EVENT) {
@@ -277,7 +286,7 @@
innerDragInfo = null;
}
boolean canDrag = false;
- VpeVisualInnerDragInfo dragInfo = getInnerDragInfo(event);
+ VpeVisualInnerDragInfo dragInfo = getInnerDragInfo(element);
if (dragInfo != null) {
nsIDOMNode dragNode = dragInfo.getNode();
if (VpeDebug.PRINT_VISUAL_INNER_DRAGDROP_EVENT) {
@@ -609,8 +618,13 @@
}
if (VpeDebug.PRINT_VISUAL_INNER_DRAGDROP_EVENT) {
- System.out
- .println(" canDrop: " + canDrop + (canDrop ? " container: " + caretParent.getNodeName() + " offset: " + caretOffset : "")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ System.out.println(" canDrop: " + canDrop //$NON-NLS-1$
+ + (canDrop ?
+ " container: " //$NON-NLS-1$
+ + caretParent.getNodeName()
+ + " offset: " //$NON-NLS-1$
+ + caretOffset
+ : "")); //$NON-NLS-1$
}
return new MozillaDropInfo(canDrop, caretParent, caretOffset);
@@ -654,12 +668,11 @@
return dragService;
}
- private VpeVisualInnerDragInfo getInnerDragInfo(nsIDOMMouseEvent event) {
- nsIDOMElement selectedElement = vpeController.getVisualBuilder().getXulRunnerEditor().getLastSelectedElement();
- if (selectedElement == null) {
+ private VpeVisualInnerDragInfo getInnerDragInfo(nsIDOMElement element) {
+ if (element == null) {
return null;
} else {
- return new VpeVisualInnerDragInfo(selectedElement);
+ return new VpeVisualInnerDragInfo(element);
}
// fix of JBIDE-4998
@@ -725,19 +738,23 @@
}
private VpeVisualInnerDropInfo getInnerDropInfo(nsIDOMEvent event) {
- nsIDOMNSUIEvent nsuiEvent = (nsIDOMNSUIEvent) event.queryInterface(nsIDOMNSUIEvent.NS_IDOMNSUIEVENT_IID);
+ nsIDOMNSUIEvent nsuiEvent = (nsIDOMNSUIEvent)
+ event.queryInterface(nsIDOMNSUIEvent.NS_IDOMNSUIEVENT_IID);
nsIDOMNode dropContainer = null;
int dropOffset = 0;
int mouseX = nsuiEvent.getPageX();
int mouseY = nsuiEvent.getPageY();
- nsIDOMNode originalNode = vpeController.getVisualBuilder().getOriginalTargetNode(event);
+ System.out.println(String.format("x = %s; y = %s", mouseX, mouseY));
+ nsIDOMNode originalNode = vpeController.getVisualBuilder()
+ .getOriginalTargetNode(event);
if (originalNode == null || originalNode.getParentNode() == null ||
originalNode.getParentNode().getNodeType() == Node.DOCUMENT_NODE) {
return new VpeVisualInnerDropInfo(null, 0, mouseX, mouseY);
}
if (originalNode.getNodeType() == Node.TEXT_NODE) {
dropContainer = nsuiEvent.getRangeParent();
- nsIDOMNode containerForPseudoContent = VpePseudoContentCreator.getContainerForPseudoContent(dropContainer);
+ nsIDOMNode containerForPseudoContent = VpePseudoContentCreator
+ .getContainerForPseudoContent(dropContainer);
if (containerForPseudoContent != null) {
dropContainer = containerForPseudoContent;
dropOffset = 0;
@@ -754,7 +771,8 @@
long count = childen.getLength();
for (long i = 0; i < count; i++) {
nsIDOMNode child = childen.item(i);
- if (VpeVisualDomBuilder.isPseudoElement(child) || VpeVisualDomBuilder.isAnonElement(child)) {
+ if (VpeVisualDomBuilder.isPseudoElement(child)
+ || VpeVisualDomBuilder.isAnonElement(child)) {
continue;
}
Rectangle rect = vpeController.getVisualBuilder().getNodeBounds(child);
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-03-25 09:00:24 UTC (rev 21014)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-03-25 09:56:39 UTC (rev 21015)
@@ -162,7 +162,7 @@
VpeDomMapping domMapping;
private VpeSourceDomBuilder sourceBuilder;
private VpeVisualDomBuilder visualBuilder;
- private MozillaDndListener dndListener;
+ private VpeDnD vpeDnD;
/** @deprecated */
private VpeSelectionBuilder selectionBuilder;
// private VpeVisualKeyHandler visualKeyHandler;
@@ -242,7 +242,7 @@
VpeTemplateManager.getInstance(), sourceEditor, pageContext);
visualBuilder = new VpeVisualDomBuilder(domMapping, this, visualEditor,
pageContext);
- dndListener = new VpeDnD(this);
+ vpeDnD = new VpeDnD(this, visualEditor);
pageContext.setSourceDomBuilder(sourceBuilder);
pageContext.setVisualDomBuilder(visualBuilder);
IDOMModel sourceModel = (IDOMModel) getModel();
@@ -455,7 +455,7 @@
= visualEditor.getMozillaEventAdapter();
if (mozillaEventAdapter != null) {
mozillaEventAdapter.addContextMenuListener(this);
- mozillaEventAdapter.addDndListener(dndListener);
+ mozillaEventAdapter.addDndListener(vpeDnD);
mozillaEventAdapter.addKeyListener(this);
mozillaEventAdapter.addMouseListener(this);
mozillaEventAdapter.addSelectionListener(this);
@@ -472,7 +472,7 @@
= visualEditor.getMozillaEventAdapter();
if (mozillaEventAdapter != null) {
mozillaEventAdapter.removeContextMenuListener(this);
- mozillaEventAdapter.removeDndListener(dndListener);
+ mozillaEventAdapter.removeDndListener(vpeDnD);
mozillaEventAdapter.removeKeyListener(this);
mozillaEventAdapter.removeMouseListener(this);
mozillaEventAdapter.removeSelectionListener(this);
@@ -1202,7 +1202,7 @@
XulRunnerVpeUtils.getElementBounds(
selectedElement),
VisualDomUtil.getMousePoint(mouseEvent))) {
- dndListener.dragGesture(mouseEvent);
+ vpeDnD.dragGesture(mouseEvent);
} else {
selectionManager.setSelection(mouseEvent);
}
@@ -2227,6 +2227,10 @@
return includeList;
}
+ public VpeDnD getVpeDnD() {
+ return vpeDnD;
+ }
+
/**
* Processed selection events from source editor, if reason of selection is
* visial editor, selection will be stopped processing by this condition
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2010-03-25 09:00:24 UTC (rev 21014)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2010-03-25 09:56:39 UTC (rev 21015)
@@ -44,7 +44,6 @@
import org.jboss.tools.jst.web.tld.TaglibData;
import org.jboss.tools.vpe.VpeDebug;
import org.jboss.tools.vpe.VpePlugin;
-import org.jboss.tools.vpe.dnd.VpeDnD;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeElementData;
@@ -1323,6 +1322,7 @@
int resizerConstrains = getResizerConstrains(visualElement);
visualEditor.setSelectionRectangle(visualElement, resizerConstrains,
scroll);
+ this.visualEditor.getController().getVpeDnD().selectionChanged();
}
/**
14 years, 7 months
JBoss Tools SVN: r21014 - in trunk/seam/docs/reference/en-US/images: seam_wizards and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2010-03-25 05:00:24 -0400 (Thu, 25 Mar 2010)
New Revision: 21014
Modified:
trunk/seam/docs/reference/en-US/images/crud_database_application/crud_database_application_15.png
trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_11.png
trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_14.png
trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_15.png
trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_5.png
trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_8.png
Log:
https://jira.jboss.org/jira/browse/JBDS-980
Modified: trunk/seam/docs/reference/en-US/images/crud_database_application/crud_database_application_15.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_11.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_14.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_15.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_5.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en-US/images/seam_wizards/seam_wizards_8.png
===================================================================
(Binary files differ)
14 years, 7 months
JBoss Tools SVN: r21013 - trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-03-24 19:59:34 -0400 (Wed, 24 Mar 2010)
New Revision: 21013
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
Log:
dependency to vpe removed from jst.jsp test
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF 2010-03-24 20:56:36 UTC (rev 21012)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF 2010-03-24 23:59:34 UTC (rev 21013)
@@ -16,7 +16,6 @@
org.jboss.tools.jst.jsp,
org.jboss.tools.common.text.ext,
org.jboss.tools.jst.web,
- org.jboss.tools.vpe.ui.test,
org.jboss.tools.common.text.xml;bundle-version="2.0.0"
Export-Package:
org.jboss.tools.jst.jsp.test,
14 years, 7 months
JBoss Tools SVN: r21011 - in branches/hibernatetools-multiversion/hibernatetools/plugins: org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/mapping/details and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-03-24 16:32:26 -0400 (Wed, 24 Mar 2010)
New Revision: 21011
Added:
branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/
Modified:
branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/mapping/details/HibernateTableComposite.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateDdlWizardPage.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6070 - update
Copied: branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui (from rev 20855, trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui)
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/mapping/details/HibernateTableComposite.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/mapping/details/HibernateTableComposite.java 2010-03-16 18:50:31 UTC (rev 20855)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/mapping/details/HibernateTableComposite.java 2010-03-24 20:32:26 UTC (rev 21011)
@@ -51,7 +51,7 @@
* | ------------------------------------------------------------------------- |
* -----------------------------------------------------------------------------</pre>
*
- * @see Table
+ * @see TableStub
* @see EntityComposite - The parent container
* @see TableCombo
* @see CatalogCombo
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateDdlWizardPage.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateDdlWizardPage.java 2010-03-16 18:50:31 UTC (rev 20855)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateDdlWizardPage.java 2010-03-24 20:32:26 UTC (rev 21011)
@@ -18,7 +18,7 @@
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
-import org.hibernate.util.StringHelper;
+import org.hibernate.console.stubs.util.StringHelper;
import org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaProject;
/**
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2010-03-16 18:50:31 UTC (rev 20855)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2010-03-24 20:32:26 UTC (rev 21011)
@@ -43,6 +43,7 @@
import org.hibernate.console.KnownConfigurations;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences.ConfigurationMode;
+import org.hibernate.console.stubs.util.StringHelper;
import org.hibernate.eclipse.console.EclipseConsoleConfigurationPreferences;
import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.utils.DialogSelectionHelper;
@@ -50,7 +51,6 @@
import org.hibernate.eclipse.console.utils.LaunchHelper;
import org.hibernate.eclipse.launch.PathHelper;
import org.hibernate.tool.hbm2x.StringUtils;
-import org.hibernate.util.StringHelper;
import org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaProject;
import org.jboss.tools.hibernate.jpt.ui.HibernateJptUIPlugin;
14 years, 7 months
JBoss Tools SVN: r21009 - trunk.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-03-24 12:41:08 -0400 (Wed, 24 Mar 2010)
New Revision: 21009
Modified:
trunk/parent-pom.xml
Log:
add more platforms and dependent p2 sites
Modified: trunk/parent-pom.xml
===================================================================
--- trunk/parent-pom.xml 2010-03-24 15:14:04 UTC (rev 21008)
+++ trunk/parent-pom.xml 2010-03-24 16:41:08 UTC (rev 21009)
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.tools</groupId>
- <artifactId>org.jboss.tools.parent.pom</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <name>JBoss Tools Parent</name>
- <packaging>pom</packaging>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <name>JBoss Tools Parent</name>
+ <packaging>pom</packaging>
- <properties>
- <tychoVersion>0.8.0</tychoVersion>
- </properties>
+ <properties>
+ <tychoVersion>0.8.0</tychoVersion>
+ </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.sonatype.tycho</groupId>
- <artifactId>tycho-maven-plugin</artifactId>
- <version>${tychoVersion}</version>
- <extensions>true</extensions>
- </plugin>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <extensions>true</extensions>
+ </plugin>
<plugin>
<groupId>org.sonatype.tycho</groupId>
@@ -27,43 +27,153 @@
<configuration>
<resolver>p2</resolver>
<environments>
-
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>carbon</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
</environments>
</configuration>
</plugin>
-
- </plugins>
- </build>
+ </plugins>
+ </build>
- <repositories>
- <repository>
- <id>galileo</id>
- <url>http://download.eclipse.org/releases/galileo</url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
+ <repositories>
+ <repository>
+ <id>galileo</id>
+ <url>http://download.eclipse.org/releases/galileo</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>eclipse35</id>
+ <url>http://download.eclipse.org/eclipse/updates/3.5/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>webtools</id>
+ <url>http://download.eclipse.org/webtools/updates</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>m2eclipse</id>
+ <url>http://m2eclipse.sonatype.org/sites/m2e/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>m2eclipse-extras</id>
+ <url>http://m2eclipse.sonatype.org/sites/m2e-extras/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>birt25</id>
+ <url>http://download.eclipse.org/birt/update-site/2.5/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>subclipse16</id>
+ <url>http://subclipse.tigris.org/update_1.6.x/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>subversive07</id>
+ <url>http://download.eclipse.org/technology/subversive/0.7/update-site/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>subversive20</id>
+ <url>http://community.polarion.com/projects/subversive/download/eclipse/2.0/up...</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
-
- </repositories>
-
-<pluginRepositories>
- <pluginRepository>
- <id>tycho</id>
- <url>http://repository.sonatype.org/content/repositories/all-001//</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- </pluginRepository>
- </pluginRepositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>tycho</id>
+ <url>http://repository.sonatype.org/content/repositories/all-001//
+ </url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
</project>
14 years, 7 months
JBoss Tools SVN: r21005 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2010-03-24 11:12:44 -0400 (Wed, 24 Mar 2010)
New Revision: 21005
Modified:
trunk/jsf/docs/userguide/en-US/css_perspective.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-1178 - Descriptions of "Edited Properties" and "Boxes" tab are updated; the obsolete figures are updated.
Modified: trunk/jsf/docs/userguide/en-US/css_perspective.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/css_perspective.xml 2010-03-24 14:33:44 UTC (rev 21004)
+++ trunk/jsf/docs/userguide/en-US/css_perspective.xml 2010-03-24 15:12:44 UTC (rev 21005)
@@ -9,7 +9,11 @@
</keywordset>
</chapterinfo>
<title>CSS Editing Perspective</title>
- <para>In this chapter we will discuss CSS Editing Perspective views, more information about style sheets can be found in <link linkend="pages_styling">Page Styling section</link> of Editor chapter</para>
+ <para>In this chapter we will discuss CSS Editing Perspective views,
+ more information about style sheets can be found in
+ <link linkend="pages_styling">Page Styling section</link>
+ of Editor chapter.
+ </para>
<para>The CSS Editing Perspective combines a set of views which allow you to see the structure of
your css files,edit them and see the results.
To use this perspective you need to choose <emphasis><property>Window >Open Perspective> CSS Editing </property></emphasis>
@@ -134,7 +138,8 @@
<itemizedlist>
<listitem>
- <para id="text_font">CSS Text/Font properties define the appearance of text,its font family, boldness, size, and the style.
+ <para id="text_font">CSS Text/Font properties define the appearance of text,
+ its font family, boldness, size and the style.
</para>
<figure>
<title>Text/Font tab</title>
@@ -144,14 +149,16 @@
</imageobject>
</mediaobject>
</figure>
- <para>For example, to define the "<emphasis><property>font-family</property></emphasis>" property you should click <emphasis><property>Choose font family</property></emphasis> button( <inlinemediaobject>
+ <para>For example, to define the "<emphasis><property>font-family</property></emphasis>"
+ property you should click <emphasis><property>Choose font family</property></emphasis>
+ button( <inlinemediaobject>
<imageobject>
<imagedata fileref="images/css_perspective/cssEditor7.png"/>
</imageobject>
</inlinemediaobject>) near <emphasis><property>Font Family</property></emphasis> text field
and select the fonts you want to use from the list.</para>
<figure>
- <title>CSS Text/Font tab</title>
+ <title>Choose font family</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/css_perspective/cssEditor6.png"/>
@@ -170,8 +177,9 @@
You should use CSS background properties and <emphasis><property>Background</property></emphasis> tab to define the background effects of an element.
</para>
- <para id="boxes"><emphasis><property>Boxes</property></emphasis> tab is used to define CSS border properties and the box model.
- The CSS border properties allow you to specify the style and color of an element's border.
+ <para id="boxes"><emphasis><property>Boxes</property></emphasis> tab is used to define CSS border properties,
+ the box model and dimensions. The CSS border properties allow you to specify the style
+ and color of an element's border.
</para>
<para>As well as in Text/Font tab, it's also possible to define the property in two ways:</para>
<itemizedlist>
@@ -206,16 +214,18 @@
</figure>
</listitem>
<listitem>
- <para id="edited_properties"><emphasis><property>Edited Properties</property></emphasis> tab contains only the properties,defined in the selector.</para>
+ <para id="edited_properties"><emphasis><property>Edited Properties</property></emphasis> tab contains only "overflow-y" property,
+ which determines clipping of the element's content at the top and bottom edges.
+ </para>
<figure>
- <title>Property Sheet tab</title>
+ <title>Edited Properties tab</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/css_perspective/cssEditor11.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>It's also possible to edit the properties in the tab.</para>
+ <para>It's also possible to edit the properties in the tab.</para>
</listitem>
</itemizedlist>
</section>
@@ -224,7 +234,7 @@
<title>CSS Preview</title>
<para>Using CSS Preview you can see how a selector affects any text.</para>
<figure>
- <title>Property Sheet tab</title>
+ <title>CSS Preview</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/css_perspective/cssEditor12.png"/>
14 years, 7 months