Author: vyemialyanchyk
Date: 2009-04-07 09:02:51 -0400 (Tue, 07 Apr 2009)
New Revision: 14568
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java
Log:
JBIDE-4137
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java 2009-04-07
13:02:19 UTC (rev 14567)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java 2009-04-07
13:02:51 UTC (rev 14568)
@@ -113,7 +113,7 @@
VisualEditorPlugin.getDefault().logError(e);
}
if (xy.length > 2)
- if ((new Boolean(xy[2])).booleanValue())
+ if ((Boolean.valueOf(xy[2])))
ormShape.refreshHiden();
tempPoint = ormShape.getLocation().y
+ getChildrenFigurePreferredHeight(ormShape) + 20;
@@ -404,7 +404,7 @@
}
- class LinkInfo implements ILinkInfo {
+ static class LinkInfo implements ILinkInfo {
Connection link = null;
String id = null;
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 2009-04-07
13:02:19 UTC (rev 14567)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 2009-04-07
13:02:51 UTC (rev 14568)
@@ -108,7 +108,7 @@
item.setEnabled(enabled);
}
- class AL implements SelectionListener {
+ static class AL implements SelectionListener {
IAction action;
public AL(IAction action) {
Show replies by date