Permalink
Browse files

photon target

  • Loading branch information...
vladdu committed Jan 4, 2019
1 parent 64076d1 commit 612201dd0bb1c747545252669f05695f502bd5d2
@@ -5,11 +5,6 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
@@ -270,7 +270,7 @@ protected void addAffectedChild(final ErlElementDelta child) {
return null;
}
final ArrayList<IParent> parents = Lists.newArrayList();
while (!parent.equals(fElement)) {
while (parent != fElement) {
parents.add(parent);
if (parent instanceof IErlElement) {
element = (IErlElement) parent;
@@ -560,7 +560,7 @@ public void widgetSelected(final SelectionEvent e) {
gc.setFont(tree.getFont());
final FontMetrics fontMetrics = gc.getFontMetrics();
gc.dispose();
columnWidth = Math.max(100, fontMetrics.getAverageCharWidth() * 20);
columnWidth = (int) Math.max(100, fontMetrics.getAverageCharacterWidth() * 20);
}

// if (columnWidths != null) {
@@ -1,5 +1,7 @@
package org.erlide.ui.util;

import java.util.Objects;

/*******************************************************************************
* Copyright (c) 2005, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
@@ -60,7 +62,7 @@ public ETreeNode(final Object value) {
@Override
public boolean equals(final Object object) {
if (object instanceof ETreeNode) {
return Util.equals(value, ((ETreeNode) object).value);
return Objects.equals(value, ((ETreeNode) object).value);
}

return false;
@@ -5,6 +5,11 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
@@ -13,5 +18,6 @@
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
<target name="Erlide target" sequenceNumber="1526569742">
<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
<target name="Erlide target" sequenceNumber="1546600171">
<locations>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.eclipse.e4.rcp.feature.group" version="0.0.0"/>
<unit id="org.eclipse.jdt.annotation" version="0.0.0"/>
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<repository location="http://download.eclipse.org/releases/neon/"/>
<repository location="http://download.eclipse.org/releases/photon/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="com.abstratt.eclipsegraphviz.feature.feature.group" version="0.0.0"/>
@@ -4,7 +4,7 @@ with source configurePhase requirements

environment JavaSE-1.8

location "http://download.eclipse.org/releases/neon/" {
location "http://download.eclipse.org/releases/photon/" {
org.eclipse.e4.rcp.feature.group lazy
org.eclipse.jdt.annotation lazy
org.eclipse.sdk.ide lazy
@@ -13,9 +13,7 @@ location "http://download.erlide.org/update/libs" {
com.abstratt.eclipsegraphviz.feature.feature.group lazy //[2.2.0, 3.0.0)
}


location "http://download.eclipse.org/eclipse/updates/4.6/" {

}

location "http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.14.0/"{

0 comments on commit 612201d

Please sign in to comment.