Author: dgolovin
Date: 2007-07-20 17:38:11 -0400 (Fri, 20 Jul 2007)
New Revision: 2577
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/ComponentFigure.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleFigure.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleLabel.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/OrmShapeEditPart.java
trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionBreakpoint.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-583
typo in setHidden is fixed
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/ComponentFigure.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/ComponentFigure.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/ComponentFigure.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -42,7 +42,7 @@
this.childsHiden = childsHiden;
for(int i=0;i<getChildren().size();i++){
if(getChildren().get(i) instanceof TitleLabel)
- ((TitleLabel)getChildren().get(i)).setHiden(childsHiden);
+ ((TitleLabel)getChildren().get(i)).setHidden(childsHiden);
}
}
}
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleFigure.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleFigure.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleFigure.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -37,7 +37,7 @@
}
- public void setHiden(boolean hiden) {
+ public void setHidden(boolean hiden) {
this.hiden = hiden;
}
}
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleLabel.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleLabel.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/figures/TitleLabel.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -39,7 +39,7 @@
graphics.drawImage(shevronUp, getBounds().x+getBounds().width-20, getBounds().y);
}
- public void setHiden(boolean hiden) {
+ public void setHidden(boolean hiden) {
this.hiden = hiden;
repaint();
}
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -36,14 +36,14 @@
protected void setChildsHiden(boolean hiden) {
for (int i = 0; i < getChildren().size(); i++)
- ((Shape)getChildren().get(i)).setHiden(hiden);
+ ((Shape)getChildren().get(i)).setHidden(hiden);
}
public void refreshChildsHiden(OrmDiagram ormDiagram) {
refHide = !refHide;
for (int i = 0; i < getChildren().size(); i++)
- ((Shape)getChildren().get(i)).setHiden(!refHide);
+ ((Shape)getChildren().get(i)).setHidden(!refHide);
if(refHide)
if(first){
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -51,7 +51,7 @@
target.firePropertyChange(Shape.SHOW_SELECTION, null, null);
}
- public void setHiden(boolean hiden) {
+ public void setHidden(boolean hiden) {
if(hiden) {
needHide--;
if(needHide == 0)
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -188,10 +188,10 @@
return shape;
}
- protected void setHiden(boolean hiden) {
- super.setHiden(hiden);
+ protected void setHidden(boolean hiden) {
+ super.setHidden(hiden);
for (int i = 0; i < getChildren().size(); i++)
- ((Shape)getChildren().get(i)).setHiden(hiden);
+ ((Shape)getChildren().get(i)).setHidden(hiden);
}
public void refreshHiden() {
@@ -206,7 +206,7 @@
private void setElementHidden(ModelElement element, boolean hidden){
for (int i = 0; i < element.getChildren().size(); i++){
- ((Shape)element.getChildren().get(i)).setHiden(hidden);
+ ((Shape)element.getChildren().get(i)).setHidden(hidden);
setElementHidden((ModelElement)element.getChildren().get(i), hidden);
}
}
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -74,10 +74,10 @@
this.indent = indent;
}
- protected void setHiden(boolean hiden) {
+ protected void setHidden(boolean hiden) {
for (int i = 0; i < sourceConnections.size(); i++)
- ((Connection)sourceConnections.get(i)).setHiden(hiden);
+ ((Connection)sourceConnections.get(i)).setHidden(hiden);
for (int i = 0; i < targetConnections.size(); i++)
- ((Connection)targetConnections.get(i)).setHiden(hiden);
+ ((Connection)targetConnections.get(i)).setHidden(hiden);
}
}
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -72,7 +72,7 @@
referenceList.add((OrmShape)getCastedModel().getParent());
refreshReference((ExpandeableShape)getCastedModel(),
((ExpandeableShape)getCastedModel()).isReferenceVisible());
- ((TitleLabel)getFigure()).setHiden(!((ExpandeableShape)getCastedModel()).isReferenceVisible());
+ ((TitleLabel)getFigure()).setHidden(!((ExpandeableShape)getCastedModel()).isReferenceVisible());
// ((IFigure)getFigure().getChildren().get(0)).setBackgroundColor(getSelectionColor());
// ((IFigure)getFigure().getChildren().get(0)).setForegroundColor(ResourceManager.getInstance().getColor(new
RGB(255,255,255)));
} else {
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/OrmShapeEditPart.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/OrmShapeEditPart.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/OrmShapeEditPart.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -95,8 +95,8 @@
//((OrmDiagram)getParent().getModel()).setDirty(true);
} else if (OrmShape.SET_HIDEN.equals(prop)) {
int i = figure.getPreferredSize().width;
- ((TitleFigure)figure).setHiden(((Boolean)evt.getNewValue()).booleanValue());
- ((TitleLabel)figure.getChildren().get(0)).setHiden(((Boolean)evt.getNewValue()).booleanValue());
+ ((TitleFigure)figure).setHidden(((Boolean)evt.getNewValue()).booleanValue());
+ ((TitleLabel)figure.getChildren().get(0)).setHidden(((Boolean)evt.getNewValue()).booleanValue());
if(((Boolean)evt.getNewValue()).booleanValue())
figure.setSize(i,-1);
else
Modified:
trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionBreakpoint.java
===================================================================
---
trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionBreakpoint.java 2007-07-20
21:18:07 UTC (rev 2576)
+++
trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionBreakpoint.java 2007-07-20
21:38:11 UTC (rev 2577)
@@ -112,7 +112,7 @@
return hiden;
}
- public void setHiden(boolean hiden) {
+ public void setHidden(boolean hiden) {
this.hiden = hiden;
}