Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (on)  | Unanswered Messages (off)

Forum: Eclipse Communications Framework (ECF)
 Topic: Reuse Eclipse proxy handling when making HTTP connections
Re: Reuse Eclipse proxy handling when making HTTP connections [message #1404296 is a reply to message #1403652] Thu, 31 July 2014 01:04
Marcel Bruch is currently offline Marcel Bruch
Messages: 224
Registered: July 2009
Senior Member
Sorry, I was off for a few days. I get an idea how ECF works here. One more question: Can you tell me where (full qualified classnames) ECF is doing the proxy handling for manual and native proxy settings?

tw: @MarcelBruch
tw: @Recommenders
Forum: Plugin Development Environment (PDE)
 Topic: Integrated diagram/table/text editor based on Eclipse
Integrated diagram/table/text editor based on Eclipse [message #1404298] Thu, 31 July 2014 01:34
Justin Huang is currently offline Justin Huang
Messages: 1
Registered: July 2014
Junior Member
We often *want* to insert some diagrams/tables/etc. into our code to help explain the coding logic, but we cannot do it in usual program source code editor.

I am not sure if the existing eclipse extension points are enough to create a integrated diagram/table/text editor. Need expert's help to show some light on this.

Thanks.
Forum: Remus Information Management
 Topic: Rich Text Editor: Re-edit problems
Re: Rich Text Editor: Re-edit problems [message #1404301 is a reply to message #560140] Thu, 31 July 2014 02:35
Johnny wills is currently offline Johnny wills
Messages: 1
Registered: July 2014
Location: England
Junior Member
Tom Seidel wrote on Tue, 21 September 2010 10:33
If you experience further problems we would be happy to receive some bugreports, see https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Remus

Cheerz
Tom


This is really awesome!
Forum: Code Recommenders
 Topic: Code Recommenders 2.1.2 Released!
icon1.gif  Code Recommenders 2.1.2 Released! [message #1404303] Thu, 31 July 2014 02:59
Johannes Dorn is currently offline Johannes Dorn
Messages: 16
Registered: June 2013
Junior Member
Hi,

we have released Code Recommenders version 2.1.2 which features improved proxy support, easier creation of snippets, and tweaks to the way code completion works.

You can read all the details on our blog.

Read More

Thanks to all our testers for their support.

Johannes
Forum: Virgo
 Topic: Virgo Bundlor 1.1.2 RELEASE Error
icon11.gif  Virgo Bundlor 1.1.2 RELEASE Error [message #1404307] Thu, 31 July 2014 03:26
pan gao is currently offline pan gao
Messages: 1
Registered: July 2014
Junior Member
Hi,I use Maven download "org.eclipse.virgo.bundlor.maven" 1.1.2 from www.mvnrepository.com/artifact/org.eclipse.virgo.bundlor/org.eclipse.virgo.bundlor.maven/1.1.2.RELEASE ,but trying to build a project I have the following error :
Failed to execute goal org.eclipse.virgo.bundlor:org.eclipse.virgo.bundlor.maven:1.1.2.RELEASE:bundlor (bundlor) on project host: Execution bundlor of goal org.eclipse.virgo.bundlor:org.eclipse.virgo.bundlor.maven:1.1.2.RELEASE:bundlor failed: Plugin org.eclipse.virgo.bundlor:org.eclipse.virgo.bundlor.maven:1.1.2.RELEASE or one of its dependencies could not be resolved: Failure to find org.apache.maven:com.springsource.org.apache.maven.plugin-api:jar:3.0.4 in repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

I not find "com.springsource.org.apache.maven.plugin-api.3.0.4.jar"package,so I change org.eclipse.virgo.bundlor.maven-1.1.2.RELEASE.pom file ,
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
The error is ok,but have the following error :
[WARNING] Error injecting: org.eclipse.virgo.bundlor.maven.plugin.BundlorMojo
java.lang.NoClassDefFoundError: org/eclipse/virgo/bundlor/support/manifestwriter/ManifestWriterFactory
Forum: QVT-OML
 Topic: Run exported transformation
Re: Run exported transformation [message #1404310 is a reply to message #1404186] Thu, 31 July 2014 03:35
Rolf Theunissen is currently offline Rolf Theunissen
Messages: 3
Registered: April 2012
Junior Member
You have to register the deployed transformation using an extension point (as also replied in the bug report).

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.m2m.qvt.oml.runtime.qvtTransformation">
<transformation
file="transforms/PlatformBug.qvto"
id="transforms.PlatformBug">
</transformation>
</extension>
</plugin>
 Topic: Dynamic set of input models
Re: Dynamic set of input models [message #1404311 is a reply to message #1371188] Thu, 31 July 2014 03:41
Rolf Theunissen is currently offline Rolf Theunissen
Messages: 3
Registered: April 2012
Junior Member
When running the transformation from the run-transformation menu, indeed you can only select one input resource. By default, with EMF editors you can only create one root in the resource, however, EMF supports multiple roots in one resource. Programmatically you can create multiple roots.

Furthermore, if you run the transformation from java, you get access to the model-extends that are input of the transformation. These model-extends can be filled with multiple models. Then you can input models from multiple resources to the QVTo-transformation.
Forum: ATL
 Topic: [EMFTVM] Enum type in lazy rule 'from' section
Re: [EMFTVM] Enum type in lazy rule 'from' section [message #1404300 is a reply to message #1404275] Thu, 31 July 2014 02:11
Fernando Macias is currently offline Fernando Macias
Messages: 9
Registered: March 2014
Junior Member
I should have explained myself better, my bad Confused So should I create a new bug report?

[Updated on: Thu, 31 July 2014 02:12]

Report message to a moderator

 Topic: [EMFTVM] Incorrect trace model with unique lazy rules
[EMFTVM] Incorrect trace model with unique lazy rules [message #1404314] Thu, 31 July 2014 04:18
Fernando Macias is currently offline Fernando Macias
Messages: 9
Registered: March 2014
Junior Member
Hi!

I tried to open the trace model of my transformations (which work properly), and I got the following error:

org.eclipse.emf.ecore.xmi.IllegalValueException: Value '[name:null -> [], type:null -> []]' is not legal

This seems to be caused by this other exception:

java.lang.IllegalArgumentException: Unique trace already exists for source element list inputPresentationObject2formBean::[name:null -> [], type:null -> []]: inputPresentationObject2formBean::[name:null -> [], type:null -> []]

And if I open the trace model in text mode, I get that the error is caused by the following lines, inside a <rules> tag:

<uniqueSourceElementLists sourceElements="/0/@rules.5/@links.0/@sourceElements.1 /0/@rules.5/@links.0/@sourceElements.0"/>
<uniqueSourceElementLists sourceElements="/0/@rules.5/@links.1/@sourceElements.1 /0/@rules.5/@links.1/@sourceElements.0"/>
[11 more...]
<uniqueSourceElementLists sourceElements="/0/@rules.5/@links.13/@sourceElements.1 /0/@rules.5/@links.13/@sourceElements.0"/>

The rule that generates this trace is a unique lazy rule with only two String variables in the from section (and the same happens in this other rule). As this error seemed related to the fact that the variables are not model elements but 'native' types, I added one more variable to the from, and I invoke the unique lazy rule with an extra parameter (the root of the model, so it doesn't affect the behavior), like this:

thisModule.inputPresentationObject2formBean(poInput.name, poInput.type, thisModule.root)

unique lazy rule inputPresentationObject2formBean {
    from
        name : String,
        type : String,
        workaround : OclAny -- New variable (unused)
    to 
        [...]
}

This measure solved the problem. However, I think this is a pretty ugly workaround. So my question is: Is this a bug/limitation, or am I doing something wrong?

Cheers,

Fernando

[Updated on: Thu, 31 July 2014 04:19]

Report message to a moderator

Forum: Equinox
 Topic: osgi.configuration.area vs. simpleconfigurator
osgi.configuration.area vs. simpleconfigurator [message #1404318] Thu, 31 July 2014 04:40
Christian Dietrich is currently offline Christian Dietrich
Messages: 6144
Registered: July 2009
Senior Member
We have a Product Configured as follows

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="Some IDE" uid="someide" id="somecompany.products.ide.at.application.architekturide" application="org.eclipse.ui.ide.workbench" version="43.2.0.qualifier" useFeatures="true" includeLaunchers="true">

   <configIni use="default">
   </configIni>

   <launcherArgs>
      <vmArgs>-Declipse.p2.unsignedPolicy=allow
-Dusage_reporting_enabled=false
-Dfile.encoding=UTF-8</vmArgs>
      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
   </launcherArgs>

   <windowImages i16="icons/applications-engineering_16x16.png" i32="icons/applications-engineering_32x32.png" i48="icons/applications-engineering_48x48.png" i64="icons/applications-engineering_64x64.png" i128="icons/applications-engineering_128x128.png"/>

   <launcher name="eclipse">
      <solaris/>
      <win useIco="false">
         <bmp/>
      </win>
   </launcher>


   <vm>
   </vm>

   <plugins>
   </plugins>

   <features>
      <feature id="org.eclipse.equinox.p2.user.ui"/>
      <feature id="org.eclipse.rcp"/>
      <feature id="org.eclipse.platform"/>
      <feature id="somecompany.feature" version="43.2.0.qualifier"/>
      <feature id="somecompany.at.x86.feature" version="43.2.0.qualifier"/>
   </features>

   <configurations>
      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
      <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" />
      <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
      <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="4" />
   </configurations>

</product>


and we use a p2 touchpoint to move the osgi.configuration.area

instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.setJvm(jvm:...);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Dosgi.configuration.area=.eclipse);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Xms256m);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Xmx2g);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-XX:MaxPermSize=256m);


After pugrading from juno to luna the product behaves very strange regarding P2/Updates

- In the About dialog i there is no plus for the tree of the product (it seems to be empty thus)
- We cannot install anything into the product since it even does not find org.eclipse .core.runtime and basic stuff like that (what is definitively there)

Is this a bug? am i missing an additional configuration in the touchpoint.

(As a Workaround) It helps to
- remove the touchpoint
- add tycho created p2 repo for the product to the update sites of the product

Thanks
Forum: Eclipse 4
 Topic: Application Model Evolution
Re: Application Model Evolution [message #1404320 is a reply to message #1404093] Thu, 31 July 2014 04:54
Roman Flückiger is currently offline Roman Flückiger
Messages: 6
Registered: March 2013
Junior Member
Thanks for your answer, Tom. The new options really open a world of possibilities.

I think we need to figure out which contributions types need which flag (e.g. notexists, always, initial) set to achieve our goal, which I'd call a "merge" between persisted state and calculated model. Maybe a good practice would be to split model fragments by type from the start. Meaning, all descriptors are in a fragment that can then be added using the "always" flag, opposed to a fragment with all parts that would be added with "notexists". If there are sensible defaults for all the contributions types, we could set the flag "behind" the scene somehow, so the developers need not to worry about them...

Or e4 could choose sensible defaults by itself if no type is specified. This way the developers could still override it on demand, but still get a decent standard behaviour. Are there any discussions ongoing in this direction?

Regards,
Roman

PS.: I'm really looking forward to those extra super powers you mentioned Wink
Forum: Remote Application Platform (RAP)
 Topic: Sometime raising exception.
Re: Sometime raising exception. [message #1404304 is a reply to message #1404292] Thu, 31 July 2014 03:00
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1783
Registered: July 2009
Senior Member
Hi,
which RAP version are you using? Please provide the exception complete
stack trace.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Sometime raising exception. [message #1404306 is a reply to message #1404304] Thu, 31 July 2014 03:18
Cho HyunJong is currently offline Cho HyunJong
Messages: 49
Registered: July 2009
Location: korea
Member

thanks replayed.

I using RAP version is rap-2.3.0-R-20140610-0925.

exception trace..
!ENTRY org.eclipse.rap.jface 4 2 2014-07-29 12:57:50.962
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.rap.jface".
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.rap.rwt.internal.protocol.ProtocolUtil.getJsonForColor(Lorg/eclipse/swt/graphics/Color;Z)Lorg/eclipse/rap/json/JsonValue;
at org.eclipse.rap.addons.d3chart.ChartItem.setColor(ChartItem.java:76)
at com.hangum.tadpole.mongodb.core.editors.dbInfos.comosites.InstanceInformationComposite.createConnectionChart(InstanceInformationComposite.java:618)
at com.hangum.tadpole.mongodb.core.editors.dbInfos.comosites.InstanceInformationComposite.<init>(InstanceInformationComposite.java:152)
at com.hangum.tadpole.mongodb.core.editors.dbInfos.MongoDBInfosEditor.createPartControl(MongoDBInfosEditor.java:95)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:668)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:464)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:599)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:310)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:185)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:265)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:64)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:479)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1262)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1215)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1614)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:508)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:106)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:494)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:115)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:65)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:775)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:633)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2855)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2763)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2755)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2706)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2702)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2686)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2669)
at com.hangum.tadpole.rdb.core.actions.connections.AbstractQueryAction.run(AbstractQueryAction.java:83)
at com.hangum.tadpole.rdb.core.viewers.connections.ManagerViewer$2.doubleClick(ManagerViewer.java:118)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:828)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:52)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:177)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:826)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1424)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1230)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:242)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:239)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:304)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:700)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:602)
at org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1212)
at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1193)
at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1176)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1168)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2733)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2694)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:701)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:684)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
at com.hangum.tadpole.application.Application.createUI(Application.java:44)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:172)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:284)
at java.lang.Thread.run(Thread.java:745)
at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:105)
 Topic: [RAP] [E4] UIThreadTerminatedError in LoginLifecycle
Re: [RAP] [E4] UIThreadTerminatedError in LoginLifecycle [message #1404322 is a reply to message #1403229] Thu, 31 July 2014 04:59
Frederick Harper is currently offline Frederick Harper
Messages: 1
Registered: July 2014
Junior Member
#440115

Thanks
Forum: MDT (Model Development Tools)
 Topic: Object-diagram conforming to a class-diagram?
Object-diagram conforming to a class-diagram? [message #1404323] Thu, 31 July 2014 05:03
Bea Perez is currently offline Bea Perez
Messages: 5
Registered: July 2012
Junior Member
Hello everybody!!
does anybody know of an eclipse plug-in which is able to check the conformity of a object-class diagram with a class-diagram?

Thank you very much in advance
Forum: EMF "Technology" (Ecore Tools, EMFatic, etc)
 Topic: [EMF FORMS] Rule Based Enablement TreeMasterDetail View
Re: [EMF FORMS] Rule Based Enablement TreeMasterDetail View [message #1404324 is a reply to message #1404206] Thu, 31 July 2014 05:02
Jonas Helming is currently offline Jonas Helming
Messages: 412
Registered: July 2009
Senior Member
Hi,

I assume that tasks are contained in the entity user? Domain Model
references currently do not allow to reference parent elements, if they
would, then rules would probably work as expected. A work around would
be to add a derived feature to the entity task, which returns the
desired state and also handles the case, when a task does not have a
user as parent.

best regards

Jonas


Am 30.07.2014 14:43, schrieb Ranjeeth Rajendran:
> REG: Rule Based Enablement TreeMasterDetail View
>
> I have two view defined for entity user and task, want to add rule in the task view based on user entity.
>
> * user.view contains the layout for user.
> * task.view contains the layout for the task.
>
> Q: How to define a rule in task view based on user active status feature path domain model reference.
> example- rule to enable/disable the fields in the task view based on active status of user rule.
>
Re: [EMF FORMS] Rule Based Enablement TreeMasterDetail View [message #1404334 is a reply to message #1404324] Thu, 31 July 2014 06:02
Ranjeeth Rajendran is currently offline Ranjeeth Rajendran
Messages: 11
Registered: July 2009
Junior Member
Hello Jonas,

Yes, the tasks are contained in the entity user.

I understand that currently its not possible to define rules based on parent entity. and work around you suggested with derived model will have huge impact in our case where we have a very larger set of domain model.

Please find attached the xps for few cases.

Should i raise a BR?

Thanks,
Ranjeeth
  • Attachment: Case.xps
    (Size: 362.08KB, Downloaded 1 time)
Forum: RCP Testing Tool
 Topic: FAQ
icon4.gif  FAQ [message #1404338] Thu, 31 July 2014 06:34
Ulyana Skorokhodova is currently offline Ulyana Skorokhodova
Messages: 1
Registered: July 2014
Junior Member
How much does RCPTT cost?
RCPTT is absolutely free product. No limitations.

How can I integrate RCPTT to continuous integration?
There is commercial product Continuous Integration for RCPTT by Xored or you can use solutions from other vendors.

Can RCPTT be installed as an Eclipse plugin?
RCPTT IDE can be installed as an Eclipse plug-in (from marketplace or update site), but only into Eclipse 3.7 Indigo, as it uses some internal APIs. Installing RCPTT IDE into Eclipse allows you to launch your AUT from sources.
We have in our roadmap plugin for newer versions of Eclipse. However most of our users use stand-alone RCPTT IDEs because of the nature of the test design process.
Forum: M2T (model-to-text transformation)
 Topic: [Acceleo] Disappearing menu when using Acceleo
[Acceleo] Disappearing menu when using Acceleo [message #1404345] Thu, 31 July 2014 07:56
Johannes Müller is currently offline Johannes Müller
Messages: 1
Registered: July 2014
Junior Member
Hello Everyone, I'm currently working on my Bachelor' Thesis and have to program a plugin for Eclipse that is capable of taking an UML-File and generate code for the Programming Language BBj.

I have currently written some Templates in Acceleo, as well as another Project defining an addition to the main menu of Eclipse, from which I intend to open a Popup window to allow the user to specify the UML-File in question as well as the path to the generationfolder.

My problem now lies in the fact that once I add my Acceleo Project to the Dependencies of my menu-Project, so that I can define those paths in the Generation itself, my menu always dissapears, leaving me unable to actually test if everything would work as I intend. I have already defined a set of key bindings for the command, but that doesn't work either, so I suspect that something is preventing my menu from being registred by eclipse itself.

Can anyone help?
Forum: Java Development Tools (JDT)
 Topic: Show members in Project Explorer: any way to disable?
Show members in Project Explorer: any way to disable? [message #1404309] Thu, 31 July 2014 03:32
Mauro Molinari is currently offline Mauro Molinari
Messages: 278
Registered: July 2009
Senior Member
It seems like that in Luna the Project Explorer is now showing Java members for Java classes, i.e.: if you open the Java file you'll see the class, the fields, the methods, etc..

I don't like this, however while in preferences I can find the option "Show members in Pacakge Explorer" under Java | Appearance, I can't find anything alike for the Project Explorer.

Any way to disable this?
 Topic: AST Resolve Bindings in Standalone Application
Re: AST Resolve Bindings in Standalone Application [message #1404347 is a reply to message #1404134] Thu, 31 July 2014 08:27
Felix Thiele is currently offline Felix Thiele
Messages: 5
Registered: July 2014
Junior Member
Thanks, I did try that. Sourcecode is attached:

ASTParser parser = ASTParser.newParser(AST.JLS4);

parser.setEnvironment(null, envPath, null, true);

parser.setResolveBindings(true);
parser.setStatementsRecovery(true);
parser.setBindingsRecovery(true);

List<String> bindingKeys = new ArrayList<String>();

for (String typeName : typeNames) {
	bindingKeys.add(BindingKey.createTypeBindingKey(typeName));
}

FileASTRequestor requestor = new FileASTRequestor() {

	@Override
	public void acceptAST(String sourceFilePath, CompilationUnit ast) {
		super.acceptAST(sourceFilePath, ast);
		for (AbstractVisitor visitor : visitors.values()) {
			ast.accept(visitor);
		}
	}
};

parser.createASTs(sourcePaths, null, bindingKeys.toArray(new String[0]), requestor, null);


typeNames is a String array containing the names of the types up from the \java, so for example: com\package\artifact\test.java

envPath is the environment up to /java... for example: C:\...\src\java


Same result; works on certain projects but crashes on others Sad
Forum: Compare
 Topic: Customization and Team support
Re: Customization and Team support [message #1404350 is a reply to message #1403699] Thu, 31 July 2014 08:57
Laurent Goubet is currently offline Laurent Goubet
Messages: 1622
Registered: July 2009
Senior Member
Hi Véronique,

First, please create your own threads instead of "hijacking" another's, as this will allow for faster triaging from our side.

That being said, if what you need is only to ignore the "move" differences, you can just follow the example from the developper guide. As you can see, though this example tells you how to do this programmatically, it only requires you to have your own sub-class of DefaultDiffEngine.

Diff engines can also be provided to EMF Compare dynamically through the org.eclipse.emf.compare.rcp.diffEngine extension point. You can see how we do it for the default one in the plugin.xml file of the rcp plugin. For yours to be used, you have to make sure that you provide one with a ranking higher than the default one (higher than 100). As long as its ranking is higher than the default, and you haven't changed the preference to another engine (which disables the ranking), yours should be used.

Laurent Goubet
Obeo
Forum: Eclipse Website
 Topic: Forums search suggestion
Re: Forums search suggestion [message #1404349 is a reply to message #1334597] Thu, 31 July 2014 08:53
Denis Roy is currently offline Denis Roy
Messages: 299
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

Any suggestions?

Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
 Topic: How to update Eclipse ADT Bundle revision 22 to 23?
Re: How to update Eclipse ADT Bundle revision 22 to 23? [message #1404351 is a reply to message #1402976] Thu, 31 July 2014 08:59
Denis Roy is currently offline Denis Roy
Messages: 299
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

Hi,

While the ADT is an Eclipse plugin, it is not supported here. This post may be helpful, though:

https://www.eclipse.org/forums/index.php/t/225513/


Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Forum: e(fx)clipse
 Topic: e(fx)clipse CSS validation questions
Re: e(fx)clipse CSS validation questions [message #1404308 is a reply to message #1404278] Thu, 31 July 2014 03:27
Thomas Schindl is currently offline Thomas Schindl
Messages: 5259
Registered: July 2009
Senior Member
Hi,

What you see is a regression caused by the fact that e(fx)clipse css
toolsuite got a lot cleverer in 1.0.0 by analyzing the classpath for
cssext-Files so that libraries like (controlsfx, our own pane libs)
added would contribute to the look up process.

I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=440836 and we
just pushed the initial change which fixes 90% of the performance
problem a 2nd improvement will follow Monday which is our internal
e(fx)clipse day.

A new build has been published so if you check for updates on
http://download.eclipse.org/efxclipse/updates-nightly/site/ you should
get a performance boost, validation still takes a few seconds but is no
more than 5 seconds in modena.css for me now.

The problems with "-fx-base" and friends who are variables (they are NOT
attributes on Nodes!) is something that is on our list of future
improvements but I don't think we can get something in for 1.0

Tom

On 31.07.14 04:01, Joe Joeseph wrote:
> Hey Tom, first of all, thanks for all of your hard work!
>
> Couple of questions, I recently installed e(fx)clipse from the nightly
> build update site
> (http://download.eclipse.org/efxclipse/updates-nightly/site/).
>
> I wanted to start playing around with CSS so I created a new Java FX
> project in Eclipse and copy and pasted in the Modena source files from
> the jdk_1.8.0_05 javafx demos and samples. My thought was to try and
> customize modena.css and then view the changes using the Modena sample
> application since it conveniently displays most (all?) of the controls.
>
> So I extracted modena.css from the jfxrt.jar file that comes with the
> JDK and copied it over into my src/main/resources folder in my Eclipse
> project.
>
> My first issue was that it seemed like the CSS validator does not
> recognize the vast majority of javafx CSS attributes (e.g. -fx-base). I
> support for that coming in a subsequent release?
>
> Regardless, I started customizing some of the CSS attributes. Now as
> you know the modena.css file is pretty large (>3000 lines). It was not
> possible for me to quickly re-run the application because Eclipse would
> take lots of time on the "parsing and validating custom_modena.css" task
> (~ 1-2 minutes). I'm on a pretty fast Linux machine so that was
> surprising. Any ideas?
>
> Thanks again for all your awesome work!
> Joe
Re: e(fx)clipse CSS validation questions [message #1404341 is a reply to message #1404308] Thu, 31 July 2014 06:48
Thomas Schindl is currently offline Thomas Schindl
Messages: 5259
Registered: July 2009
Senior Member
Hi,

I went through the modena.css and added some missing properties (and
filed some bugs against JavaFX because they use invalid properties -
this happens if you use an editor who does not understand the valid
properties for a selector)!

If you come across more of them please add file a bug against e(fx)clipse

Tom

On 31.07.14 09:27, Tom Schindl wrote:
> Hi,
>
> What you see is a regression caused by the fact that e(fx)clipse css
> toolsuite got a lot cleverer in 1.0.0 by analyzing the classpath for
> cssext-Files so that libraries like (controlsfx, our own pane libs)
> added would contribute to the look up process.
>
> I've filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=440836 and we
> just pushed the initial change which fixes 90% of the performance
> problem a 2nd improvement will follow Monday which is our internal
> e(fx)clipse day.
>
> A new build has been published so if you check for updates on
> http://download.eclipse.org/efxclipse/updates-nightly/site/ you should
> get a performance boost, validation still takes a few seconds but is no
> more than 5 seconds in modena.css for me now.
>
> The problems with "-fx-base" and friends who are variables (they are NOT
> attributes on Nodes!) is something that is on our list of future
> improvements but I don't think we can get something in for 1.0
>
> Tom
>
> On 31.07.14 04:01, Joe Joeseph wrote:
>> Hey Tom, first of all, thanks for all of your hard work!
>>
>> Couple of questions, I recently installed e(fx)clipse from the nightly
>> build update site
>> (http://download.eclipse.org/efxclipse/updates-nightly/site/).
>>
>> I wanted to start playing around with CSS so I created a new Java FX
>> project in Eclipse and copy and pasted in the Modena source files from
>> the jdk_1.8.0_05 javafx demos and samples. My thought was to try and
>> customize modena.css and then view the changes using the Modena sample
>> application since it conveniently displays most (all?) of the controls.
>>
>> So I extracted modena.css from the jfxrt.jar file that comes with the
>> JDK and copied it over into my src/main/resources folder in my Eclipse
>> project.
>>
>> My first issue was that it seemed like the CSS validator does not
>> recognize the vast majority of javafx CSS attributes (e.g. -fx-base). I
>> support for that coming in a subsequent release?
>>
>> Regardless, I started customizing some of the CSS attributes. Now as
>> you know the modena.css file is pretty large (>3000 lines). It was not
>> possible for me to quickly re-run the application because Eclipse would
>> take lots of time on the "parsing and validating custom_modena.css" task
>> (~ 1-2 minutes). I'm on a pretty fast Linux machine so that was
>> surprising. Any ideas?
>>
>> Thanks again for all your awesome work!
>> Joe
>
Re: e(fx)clipse CSS validation questions [message #1404354 is a reply to message #1404341] Thu, 31 July 2014 09:05
Joe Joeseph is currently offline Joe Joeseph
Messages: 2
Registered: July 2014
Junior Member
Awesome news! Thanks again for you and your team's hard work!
Forum: scout
 Topic: Luna: additional undesired Stop button in SWT UI
Re: Luna: additional undesired Stop button in SWT UI [message #1404299 is a reply to message #1404063] Thu, 31 July 2014 02:11
Urs Beeli is currently offline Urs Beeli
Messages: 319
Registered: October 2012
Location: Bern, Switzerland
Senior Member
To add a little more information: When you call a server side service the Scout applciation first shows the Windows wait cursor. After a few seconds it changes back to the arrow cursor but all view/form icons change to a small animated wait cursor. It is at the time of this switch that the stop button is also added to the forms.

I've managed to turn off this behaviour by overriding a number of SWT classes. This way, our application shows the wait cursor until a server response has been received. This stops the user from making the - incorrect - assumption that he can interact with the application again because of the arrow cursor, when in fact he can't. It also takes from him the possibility to abort, so this may or may not be desired. We added this change at the request of our end users.

If you are interested I can post my solution here.
 Topic: Component IDs
Re: Component IDs [message #1404305 is a reply to message #1404233] Thu, 31 July 2014 03:08
Rok Štembergar is currently offline Rok Štembergar
Messages: 4
Registered: July 2014
Junior Member
@Order(20.0)
    @ClassId("7be3874c-9323-44be-833b-cd354ca0c1ce")
    public class NameInputField extends AbstractTextField {


And the SwingLibrary's output:

 Level: 14 Component: org.eclipse.scout.rt.ui.swing.ext.decoration.JTextFieldWithDecorationIcons Index: 1 Name: 7be3874c-9323-44be-833b-cd354ca0c1ce


Works like a charm!

If i understand correctly, org.eclipse.scout.rt.widgetIdsEnabled enables SWT and SWING only. Is there a way to propagate these IDs for the web app?
As i mentioned above, the SeleniumLibrary offers a plethora of ways to find components, almost anything would do (id tag, name tag, class names, etc.).

Again thank you for your reply and time!
Re: Component IDs [message #1404321 is a reply to message #1404305] Thu, 31 July 2014 04:55
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 649
Registered: October 2011
Senior Member
Rok Štembergar wrote on Thu, 31 July 2014 09:08
If i understand correctly, org.eclipse.scout.rt.widgetIdsEnabled enables SWT and SWING only. Is there a way to propagate these IDs for the web app?

As i mentioned above, the SeleniumLibrary offers a plethora of ways to find components, almost anything would do (id tag, name tag, class names, etc.).


You are correct. It would really be nice to have the Web-UI too. I think nobody took time to understand how it can be implemented with Eclipse-RAP.

.

[Updated on: Thu, 31 July 2014 09:11]

Report message to a moderator

 Topic: Deploy scout application in Apache ServiceMix
Re: Deploy scout application in Apache ServiceMix [message #1404312 is a reply to message #1404269] Thu, 31 July 2014 03:53
Nejc Gasper is currently offline Nejc Gasper
Messages: 9
Registered: July 2014
Junior Member
Might be advantageous to try Karaf... just to know.

Anyway I was talking about this: http://www.theserverside.com/news/1365049/Eclipse-Equinox-and-OSGi using approach 3 (scroll down a bit, 3 diagrams) - jetty is loaded as a bundle not used as a container.. Servletbridge is approach 2. I was trying around a bit and almost succeeded using approach 3, just had some dependancy problems (I think). Also when I check the command line it really seems eclipse is running project via the approach 3. Problem is though, I cannot rip the configs out from eclipse, all the folders and temp files from command line (I am checking ps ax) vanish before I can get there (or maybe are never there). Oh well, back to investigation Smile
Re: Deploy scout application in Apache ServiceMix [message #1404317 is a reply to message #1404312] Thu, 31 July 2014 04:37
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 649
Registered: October 2011
Senior Member
Thanks for the link... It is a good illustration of the different patterns that can be used.

This conversation reminds me of a slide proposed by a coworker to illustrate how a scout application is running:

index.php/fa/18716/0/

The orange arrows represent connections to another system (from a server point of view). Sometimes the integration of the different system is difficult (it depends of the project you are involved in).

I am glad if you can continue the discussion here. I will appreciate reading your findings here.

I am not an expert in this domain (running the server, integration with other system). In all my projects I could use what scout recommends out of the box. I know that at BSI, we have experts in this domain (because this is something we have to deal with in our productive project).
Re: Deploy scout application in Apache ServiceMix [message #1404339 is a reply to message #1404317] Thu, 31 July 2014 06:38
Nejc Gasper is currently offline Nejc Gasper
Messages: 9
Registered: July 2014
Junior Member
Wrong topic - this belongs to standalone.

[Updated on: Thu, 31 July 2014 06:56]

Report message to a moderator

 Topic: Run scout server standalone?
Re: Run scout server standalone? [message #1404342 is a reply to message #1404268] Thu, 31 July 2014 06:57
Nejc Gasper is currently offline Nejc Gasper
Messages: 9
Registered: July 2014
Junior Member
(I moved this reply, it belongs here imho)

I have managed to launch RAP server as standalone. I have a problem with version mismatch though (maven build probably does not use the exact same repos as eclipse target has), checking that out now to see what exactly is causing it. Any words on what exactly rap checks when it connects to the backend?

Message:
Quote:

An application update is required to continue working.
The current version is 0.0.0, the new version is 1.0.0.


I will have more problems with the server part since we temporary included hibernate as ordinary libs (bad bad bad in OSGi world) but the proof of concept stands I guess Smile

edit: Actually, I take it back, Scout server is working fine! RAP server is still complaining about version.
 Topic: Summary row in table
Re: Summary row in table [message #1404302 is a reply to message #1404242] Thu, 31 July 2014 02:47
Lukas Steigerwald is currently offline Lukas Steigerwald
Messages: 25
Registered: July 2014
Junior Member
This is how my SortColum looks like:

  @Order(10.0)
        public class SortColumn extends AbstractIntegerColumn {

          @Override
          protected boolean getConfiguredAlwaysIncludeSortAtBegin() {
            return true;
          }

          @Override
          protected int getConfiguredSortIndex() {
            return 0;
          }

        }

In my opinion no difference to your code. Do I have to setup something else for the other columns that are not the summary column maybe?


Regarding my setup (same as we had during my last issue):
Scout Version: 4.0
UI: same result in all three clients (focus on RAP and SWT)
Eclipse Platform: 4.4

[Updated on: Thu, 31 July 2014 02:48]

Report message to a moderator

Re: Summary row in table [message #1404328 is a reply to message #1404302] Thu, 31 July 2014 05:23
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 649
Registered: October 2011
Senior Member
I think your problem is somewhere else. I tried my code with Swing and RAP and it works. (I have also Scout 4.0.0 - aka Luna Release)

Are you sure your Sort Column contains Data?

.
Re: Summary row in table [message #1404337 is a reply to message #1404328] Thu, 31 July 2014 06:21
Lukas Steigerwald is currently offline Lukas Steigerwald
Messages: 25
Registered: July 2014
Junior Member
Yes, I am sure that there is data in it:
index.php/fa/18722/0/
index.php/fa/18723/0/

And I have no idea what could be wrong with the table. It is a table in a TableField of a Form. Maybe that does make a difference? The other columns have no sortIndex enabled. Do I need to enable the sortIndex in every column?
Re: Summary row in table [message #1404356 is a reply to message #1404337] Thu, 31 July 2014 09:23
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 649
Registered: October 2011
Senior Member
I have also a Table Field in a Form.

What occures when you call "Reset columns > Sorting" in the context menu in the Table header.
You can also call table.sort() in your code.

I have manage to produce a situation where this is not working:
@Order(10.0)
public class Table extends AbstractExtensibleTable {

  @Override
  protected boolean getConfiguredSortEnabled() {
    return false;
  }

  //rest of the table.

}


can you check the "Sort Enabled" property in your table?
(maybe it is not set with the getConfiguredSortEnabled() method but later with setSortEnabled(..)?)

You should debug: AbstractTable#sort().

From what I can tell, every thing works by design.

We should probably contribute some unit test for sorting in
org.eclipse.scout.rt.client.ui.basic.table.TableTest


Are you interested in contributing tests for the framework?

.

[Updated on: Thu, 31 July 2014 09:23]

Report message to a moderator

Forum: Web Tools Project (WTP)
 Topic: [Resolved] Problem setting up tomcat7 server with Luna WTP
[Rsolved] Re: Problem setting up tomcat7 server with Luna WTP [message #1404333 is a reply to message #1404240] Thu, 31 July 2014 05:55
Jim Anderson is currently offline Jim Anderson
Messages: 39
Registered: September 2010
Location: New Jersey, US
Member


Larry, I followed your instructions to restart Eclipse and start a new work space and everything worked fine! We can close this issues. I am a bit baffled as to why this would work now because I have restarted Eclipse and the workspace several times over the past week. But it works, repeatedly now, so I am a happy camper.

I do have a number of questions yet since I am still not at the point where I can run
code in WTP. My next steps are to go back to the tutorial and to do more reading of the documentation and hopefully that will get me up and running.

Thank your for your help and the others that have contributed to getting me past this issues.

Regards,
Jim


Re: [Rsolved] Re: Problem setting up tomcat7 server with Luna WTP [message #1404357 is a reply to message #1404333] Thu, 31 July 2014 09:20
Larry Isaacs is currently offline Larry Isaacs
Messages: 1304
Registered: July 2009
Senior Member
On 7/31/2014 5:55 AM, Jim Anderson wrote:
>
> Larry, I followed your instructions to restart Eclipse and start a new
> work space and everything worked fine! We can close this issues. I am a
> bit baffled as to why this would work now because I have restarted
> Eclipse and the workspace several times over the past week. But it
> works, repeatedly now, so I am a happy camper.
>
> I do have a number of questions yet since I am still not at the point
> where I can run
> code in WTP. My next steps are to go back to the tutorial and to do more
> reading of the documentation and hopefully that will get me up and running.
>
> Thank your for your help and the others that have contributed to getting
> me past this issues.
>
> Regards,
> Jim

If the Tomcat FAQ doesn't cover something, feel free to ask. I forgot
to mention that based on your original post in the other thread, you
aren't using the Dynamic Web Project quite right. You may have already
discovered this, but you have placed the helloworld.html under the
project's "src" folder. This file should be under the "WebContent"
folder. Java code for your web application (i.e. servlets, listeners,
filters, etc.) would go under the "src" folder. The default is that the
Java classes will be compiled to "build/classes" in your project. When
the project gets published to the server, the files under
"build/classes" get copied to the "WEB-INF/classes" of the published
webapp. What's under the "WebContent" folder gets copied to the base of
the published webapp.

Cheers,
Larry
Pages (3): [1  2  3    »]


Current Time: Thu Jul 31 19:53:35 EDT 2014

Powered by FUDForum. Page generated in 0.03181 seconds