| Forum: Memory Analyzer |
|---|
| Topic: Memory analyzer not opening hprof |
|---|
| Re: Memory analyzer not opening hprof [message #1060603 is a reply to message #1059461] |
Mon, 27 May 2013 05:38 |
Andrew Johnson Messages: 97 Registered: July 2009 |
Member |
|
|
The dump is corrupt:
!MESSAGE (Possibly) Invalid HPROF file: Expected to read another 308,909,576 bytes, but only 43,679,837 bytes are available.
Do you usually get bigger heap dumps?
jhat reads the dump but also warns:
WARNING: Unexpected EOF. Will miss information...
Can you try running your tests with a more recent JVM?
I suppose Memory Analyzer could be enhanced to attempt to read a truncated dump, but I'm not sure how useful the result would be.
|
|
|
| Forum: Java Development Tools (JDT) |
|---|
| Topic: How can I implement Eclipse Content Assist feature into my editor? |
|---|
| Re: How can I implement Eclipse Content Assist feature into my editor? [message #1060585 is a reply to message #1060509] |
Mon, 27 May 2013 03:53 |
Thomas Schindl Messages: 4468 Registered: July 2009 |
Senior Member |
|
|
On 25.05.13 18:32, Burak Emre Kabakcı wrote:
> I have been working on a Java web editor and I want take advantage of
> Eclipse's great features like content assist.
> I'm able to compile my Java project on the fly using
> org.eclipse.jdt.internal.compiler.Compiler. It gives me a list of errors
> that contains row and column information for highlighting.
> The next step is to implement Proposals feature of Eclipse but I
> couldn't do it because many packages of content assist feature use UI
> packages of Eclipse, however what I need is a list of proposals for a
> specific error/warning in the code that I compiled. Also I have only an
> ICompilationUnit object instead of IJavaProject and so not even sure
> whether it's possible or not without using only ICompilationUnit, so it
> would be great if you share your ideas on this issue.
ICompilationUnit.codeComplete(int,ComplettionRequestor)
Tom
|
|
|
| Forum: Platform - User Assistance (UA) |
|---|
| Topic: Extension point (org.eclipse.help.contentExtension) link resources (images etc.) |
|---|
| Extension point (org.eclipse.help.contentExtension) link resources (images etc.) [message #1060578] |
Mon, 27 May 2013 03:12 |
Norman Schoene Messages: 3 Registered: April 2013 |
Junior Member |
|
|
Hi,
I am using the extension point "org.eclipse.help.contentExtension" to allow installed plug-ins to add help dynamically in the global help of our Eclipse 3.8.x/4.2.2 (compatbility mode) RCP application.
The thing is that I want them to also be able to embed images and other resources in the provided help. But the "org.eclipse.help" does not seem to do anything to these links and they cannot be resolved from the source plug-in.
I tried the following variations in the source plug-in XHTML with no success:
<img src="/my.contributing.plugin/resources/help/someImage.png" alt="Some image" />
<img src="my.contributing.plugin/resources/help/someImage.png" alt="Some image" />
<img src="/resources/help/someImage.png" alt="Some image" />
<img src="someImage.png" alt="Some image" />
Note that the XHTML document containing any of these lines is located on the same directory level as "someImage.png". The rest of the document is shown in the global help without problems.
Any hints?
Thanks,
Norman
|
|
|
| Forum: EclipseLink |
|---|
| Topic: DML without transaction |
|---|
| Re: DML without transaction [message #1060582 is a reply to message #1059035] |
Mon, 27 May 2013 03:35 |
Daniel Elstner Messages: 2 Registered: May 2013 |
Junior Member |
|
|
It throws an error...
Exception [EclipseLink-4002] (Eclipse Persistence Services - 1.0.1 (Build 20080905)): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Transactions not supported
Error Code: -79744
Rollback is not needed. Without transaction I can execute select statements
but I can't execute DML.
If i try to execute DML without transaction it throws the following exception:
javax.persistence.TransactionRequiredException:
Exception Description: No transaction is currently active
|
|
|
| Forum: e(fx)clipse |
|---|
| Topic: Eclipse4 with JavaFx using efxClipse |
|---|
|
| Forum: Eclipse Platform |
|---|
| Topic: Eclipse Fully Dark Theme |
|---|
| Re: Eclipse Fully Dark Theme [message #1060607 is a reply to message #1043225] |
Mon, 27 May 2013 05:59 |
Steve Burns Messages: 1 Registered: May 2013 |
Junior Member |
|
|
Try MoonRise theme, I found it here:
https:// github.com/guari/eclipse-ui-theme
works better than Dark Juno and looks nicer in my opinion, it's also more accurate out of the box. I'm using it till right now.
|
|
|
| Forum: Plugin Development Environment (PDE) |
|---|
| Topic: It works in PropertyPage, but nowhere else |
|---|
| It works in PropertyPage, but nowhere else [message #1060608] |
Mon, 27 May 2013 05:59 |
Marko Gašparič Messages: 2 Registered: May 2013 |
Junior Member |
|
|
With property page I save some values:
Inside: protected Control createContents(Composite parent)
projectNode = new ProjectScope((IProject)getElement().getAdapter(IProject.class)).getNode(Recommender.PLUGIN_ID);
Inside: performOk()
projectNode.put(PROJECT_ID, selectedProjectId);
try{
projectNode.flush();
} catch (BackingStoreException e) {
DialogCreator.showDialog("Error", "Saving failed!");
}
And I can also retrieve the data next time I open it without problems.
Inside: protected Control createContents(Composite parent)
projectNode.get(PROJECT_ID, null)
But when I want to obtain it in another class it always returns null!!
IEclipsePreferences projectNode = new ProjectScope(file.getProject()).getNode(Recommender.PLUGIN_ID);
return projectNode.get(PropertyPage.PROJECT_ID, null);
I really want to know the reason for that.
Thank you in advance.
|
|
|
| Forum: Papyrus |
|---|
| Topic: Why is a (member)function not an action or activity? |
|---|
| Re: Why is a (member)function not an action or activity? [message #1060568 is a reply to message #1060545] |
Mon, 27 May 2013 01:56 |
Marc-Florian Wendland Messages: 15 Registered: January 2013 |
Junior Member |
|
|
Hi Joost,
because the Action-/BehaviorExecutionSpecification does not mean that only
the invoked BehavioralFeature (Message.signature) can be executed or
invoked. You can actually add every accessible Behavior/Action by the
receiving Lifeline (or its represented part) as target of
Action-/BehaviorExecutionSpecification.
This is somehow similar to Transitions where the effect can be used to
specify any additional action that shall be executed once the transition is
taken.
Regards,
Marc-Florian
"Joost Kraaijeveld" wrote in message news:knt968$t9v$1@xxxxxxxxe.org...
Hi,
The subject says it more or less: why is a(n) (object member) function
not an action or activity and hence selectable as the action or
behaviour execution specification?
TIA
Joost
|
|
|
| Topic: model validation problem sequence diagram |
|---|
| Re: model validation problem sequence diagram [message #1060567 is a reply to message #1060544] |
Mon, 27 May 2013 01:52 |
Marc-Florian Wendland Messages: 15 Registered: January 2013 |
Junior Member |
|
|
Hi Joost,
without providing an explicit Action, you cannot do anything to let the
validation problem disappear. This is not an arbitrary validation rule
specified by Papyrus, but a syntactic obligation of the UML metamodel. An
ActionExecutionSpecification requires an action to be valid. Riddle solved!
Regards,
Marc-Florian
"Joost Kraaijeveld" wrote in message news:knt8a9$rld$1@xxxxxxxxe.org...
Hi,
I validated my model and Papyrus complains (multiple time) about:
"The required feature 'action' of '<Action Execution Specification>
DisplayInitialiseAction' must be set"
where "DisplayInitialiseAction" is different each time, depending on the
concrete action.
It happens whenever I have a syncCall in a sequence diagram that ends in
a "Action Execution Specification" and I do not specify the "Action",
i.e. it says "<Undefined>" in the UML properties.
I can make it disappear by letting it end in a "Behaviour Execution
Specification" but what should I do to make it disappear by maintaining
the "Action Execution Specification", because it is actually an action,
and not a behaviour?
TIA
Joost
|
|
|
| Re: model validation problem sequence diagram [message #1060604 is a reply to message #1060567] |
Mon, 27 May 2013 05:38 |
Joost Kraaijeveld Messages: 154 Registered: July 2009 |
Senior Member |
|
|
Hi Marc-Florian,
Thanks for the answer.
On 27-05-13 07:52, Marc-Florian Wendland wrote:
> Hi Joost,
>
> without providing an explicit Action, you cannot do anything to let the
> validation problem disappear. This is not an arbitrary validation rule
> specified by Papyrus, but a syntactic obligation of the UML metamodel.
> An ActionExecutionSpecification requires an action to be valid. Riddle
> solved!
I should have asked the right question ;-).
The practical problem at hand hand is that if I select the "+" just
right after the action I can choose between ~41 actions. If I select
CallBehaviorAction or CallOperationAction (and many other actions) I
have to choose "a parent element of the new object". I have no idea what
to choose from the options that are given. Most things are greyed out,
but some become active if I click on them. But I have no idea which
should or could be the right one. Should the interaction (which is
displayed by the sequence diagram) that contains the lifeline with the
action execution specification be the parent? And if so, what does this
mean?
TIA
Joost
|
|
|
| Re: model validation problem sequence diagram [message #1060605 is a reply to message #1060567] |
Mon, 27 May 2013 05:38 |
Joost Kraaijeveld Messages: 154 Registered: July 2009 |
Senior Member |
|
|
Hi Marc-Florian,
Thanks for the answer.
On 27-05-13 07:52, Marc-Florian Wendland wrote:
> Hi Joost,
>
> without providing an explicit Action, you cannot do anything to let the
> validation problem disappear. This is not an arbitrary validation rule
> specified by Papyrus, but a syntactic obligation of the UML metamodel.
> An ActionExecutionSpecification requires an action to be valid. Riddle
> solved!
I should have asked the right question ;-).
The practical problem at hand hand is that if I select the "+" just
right after the action I can choose between ~41 actions. If I select
CallBehaviorAction or CallOperationAction (and many other actions) I
have to choose "a parent element of the new object". I have no idea what
to choose from the options that are given. Most things are greyed out,
but some become active if I click on them. But I have no idea which
should or could be the right one. Should the interaction (which is
displayed by the sequence diagram) that contains the lifeline with the
action execution specification be the parent? And if so, what does this
mean?
TIA
Joost
|
|
|
| Topic: Adding new buttons in Papyrus Palette |
|---|
|
|
| Forum: Buckminster |
|---|
| Topic: Avoid full workspace refresh during JUnit tests |
|---|
| Re: Avoid full workspace refresh during JUnit tests [message #1060611 is a reply to message #1059772] |
Mon, 27 May 2013 06:17 |
Christian Priebe Messages: 2 Registered: May 2013 |
Junior Member |
|
|
Hey, thank you for your response. I have seen that other thread already, but I am not sure if it's the same issue or if both are correlated.
The JUnit test reports all have a size of below 1 MB and changing the log level doesn't have significant influence on the overall runtime (I already used DEBUG as log level, but also tried INFO in my latest test).
I still think the workspace refresh between the executions of the unit tasks are responsible for the, but I don't know why they are done in the first place.
Thank you
Christian
|
|
|
| Forum: Model-to-Model Transformation |
|---|
| Topic: [QVTo] how to use two target sources? |
|---|
| [QVTo] how to use two target sources? [message #1060627] |
Mon, 27 May 2013 07:33 |
Emre Taspolatoglu Messages: 12 Registered: April 2013 |
Junior Member |
|
|
Hello there!
I have a transformation where I use my own meta-model as a source. And as for the target models, I need to use two meta-models which are -indirectly- related together.
How could I achieve this? Any help will be appreciated.
Thanks.
|
|
|
| Forum: Jubula |
|---|
| Topic: Extending Jubula for RCP (version 2.0) |
|---|
Extending Jubula for RCP (version 2.0) [message #1060630] |
Mon, 27 May 2013 07:59 |
Michi Classen Messages: 30 Registered: March 2012 |
Member |
|
|
I developed an extension for jubula to verify and click on tabs in tabbed property pages. Everything works fine for jubula version 1.1. Now I migrated the implemented classes according to your extending guide.
The toolkit extension is working but the remote control extension can't find the mapping component. Why? The RCP Aut doesn't load the fragment.
I have no more idea - please help! Attached you will find my fragment.
UPDATE: For testing purposes I have integrated your example extension for 'groups'. For this fragment I have the same problem.
The config.ini file contains both fragments as follows:
slf4j.api,\
org.eclipse.jubula.rc.rcp@4:start,\
com.bmw.jubula.extension.rcp.rc,\
org.eclipse.jubula.examples.extension.rcp.rc
[Updated on: Mon, 27 May 2013 10:14] Report message to a moderator
|
|
|
| Forum: Dynamic Languages Toolkit (DLTK) |
|---|
| Topic: next version |
|---|
| next version [message #1060633] |
Mon, 27 May 2013 08:17 |
Kevin Hagel Messages: 9 Registered: December 2012 |
Junior Member |
|
|
|
What can we expect in the next version of DLTK, what kinds of changes will we have to deal with, what old things removed, new things added etc?
|
|
|
| Forum: EGit |
|---|
| Topic: JGit RevWalk.isMergedInto() |
|---|
| Re: JGit RevWalk.isMergedInto() [message #1060602 is a reply to message #1060437] |
Mon, 27 May 2013 05:27 |
Stefan Lay Messages: 334 Registered: July 2009 |
Senior Member |
|
|
> I think it is this: Here, and in general, when a method accepts a RevObject of some > kind,
> (and possibly a RevWalk) it means all objects must be allocated by the same RevWalk > instance.
> The javadoc should mention this.
I agree. We should also mention this in the JavaDoc of the Git API methods returning a RevObject.
Stefan
|
|
|
| Topic: http.sslcainfo config option |
|---|
| Re: http.sslcainfo config option [message #1060640 is a reply to message #1060195] |
Mon, 27 May 2013 08:41 |
R Shapiro Messages: 310 Registered: June 2011 |
Senior Member |
|
|
The main utility of http.sslcainfo is for servers that for whatever reason need to use self-signed certs for https access. In this case remote operations like clone, push and fetch won't work without this feature, unless you disable verification altogether (http.sslVerify=false), which is vulnerable to man-in-the-middle attacks.
|
|
|
| Forum: scout |
|---|
| Topic: BrowserField on Mac OS X |
|---|
| Re: BrowserField on Mac OS X [message #1060571 is a reply to message #1060214] |
Mon, 27 May 2013 02:47 |
Aqua Macboy Messages: 8 Registered: February 2013 |
Junior Member |
|
|
Thank you for your response, Stephan.
The x86_64 fragment was there but not loading since I did start the Eclipse Scout application with the -arch x64 option as mentioned in another post (http://www.eclipse.org/forums/index.php/t/452511/). Now I switched to the solution proposed by Adrian Moser in the same thread, starting the application with the -nosplash option.
This seems to help (the SWT bundle loads), but gives me another error:
***WARNING: Display must be created on main thread due to Cocoa restrictions.
and then
Exception in thread "SWT HTML Display Dispatcher" org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Display.error(Display.java:1068)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:825)
at org.eclipse.swt.widgets.Display.create(Display.java:808)
at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
at org.eclipse.swt.widgets.Display.<init>(Display.java:699)
at org.eclipse.swt.widgets.Display.<init>(Display.java:690)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1386)
at org.eclipse.scout.rt.ui.swing.form.fields.browserfield.internal.SwingScoutBrowserField$StaticDisplayDispatcher.run(SwingScoutBrowserField.java:368)
Did you successfully use the BrowserField on OS X?
|
|
|
| Topic: [META] Searching the forum for my own posts |
|---|
|
| Topic: Change Icon of checkable Table |
|---|
| Re: Change Icon of checkable Table [message #1060574 is a reply to message #1060384] |
Mon, 27 May 2013 03:00 |
David Marx Messages: 6 Registered: April 2013 |
Junior Member |
|
|
Hi Claudio,
many thanks for your quick answer, it works perfectly for table check boxes.
However it seems check box fields (AbstractCheckBox) are not covered by this configuration:

Can the icon of these fields also be configured with the IconProvider? Or via CSS?
Thanks,
David
|
|
|
| Topic: Validating a custom field |
|---|
| Validating a custom field [message #1060593] |
Mon, 27 May 2013 04:27 |
Urs Beeli Messages: 167 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
I've created a rather complex custom field that lets me select dates using various methods. I now have the requirement that depending on the situation I need to define a minimum and maximum number of days that must be selected.
I was hoping to add some way of checking the currently selected number of days in a method like execValidateValue() after each change of selection and when clicking the ok button.
Is there an easy way to add this functionality without having to implement all of IValueField (which would be massive overkill in my case)? Ideally I would like the functionality to be caught by the form without having to add extra code to the form.
|
|
|
|
| Re: Validating a custom field [message #1060624 is a reply to message #1060597] |
Mon, 27 May 2013 07:22 |
Urs Beeli Messages: 167 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
The class definition of my custom field looks as follows:
public abstract class AbstractTagesfilterField extends AbstractCustomField implements ITagesfilterField {
where ITagesfilterField defines a few setters/getters to access the selected days.
However, I think the solution to my problem is easier than I had anticipated. The only "loss" of my solution is that the validation is not executed automatically, but needs to be triggered explicitely in my field.
I've added a method validateValue() which evaluates the min/max limites (defined as configuration properties) and the currently selected number of days. Depending on the outcome it just calls clearErrorStatus()/setErrorStatus() on the field. This is enough to be taken into account when I press the OK button on the form, the only thing that remains is to also use this information to graphically indicate the error status on the control itself. To handle dynamic changes, I am calling validateValue() in my UIFacade whenever a user interaction (mouse click) effects a change in selected days.
Below you see the result of all this (left side: invalid selection, right side: valid selection):

Attachment: kalender.png
(Size: 150.17KB, Downloaded 40 times)
[Updated on: Mon, 27 May 2013 07:23] Report message to a moderator
|
|
|
| Topic: Logout fails |
|---|
| Re: Logout fails [message #1060626 is a reply to message #1060515] |
Mon, 27 May 2013 07:32 |
Boy D'Poy Messages: 33 Registered: October 2011 |
Member |
|
|
Quote:
As indicated on the presentation page of the scout demo applications, these demo apps are a work in progress.
Right! But the same problem happens on both 3.8.2 & 3.9 versions even on a started from scratch project 
Furthermore, I tried to implement the solution Claudio indicated, but I the current Scout releases 3.8.2 & 3.9[.0.20130522-0147] only include the :
org.eclipse.scout.rt.ui.rap.servletfilter.LogoutFilter#doLogout
parameter, not the:
org.eclipse.scout.rt.ui.rap.servletfilter.LogoutFilter#redirectUrl
one!
[Updated on: Mon, 27 May 2013 07:33] Report message to a moderator
|
|
|
| Topic: Error when using External plugin |
|---|
|
| Forum: Web Tools Project (WTP) |
|---|
| Topic: [JSDT] Please make InferredType.java implements Interface. |
|---|
| [JSDT] Please make InferredType.java implements Interface. [message #1060635] |
Mon, 27 May 2013 08:28 |
Byunghyun Yu Messages: 1 Registered: May 2013 |
Junior Member |
|
|
I want customizing InferredType.java,
But now InferredType.java don`t have Interface class,
so i cannot implement InferredType.java.
Please make InferredType.java`s interface.
And I put some image for your understanding,
If you cant understand, leave a comment,
and then I will write more logically.
thank you Nitin..
Attachment: tset.jpg
(Size: 195.35KB, Downloaded 2 times)
|
|
|
| Topic: Problem adding tomcat6 server instance back in eclipse |
|---|
|
| Forum: Sapphire |
|---|
| Topic: Heterogeneous list with no common property |
|---|
| Heterogeneous list with no common property [message #1060618] |
Mon, 27 May 2013 06:59 |
kon f Messages: 33 Registered: March 2012 |
Member |
|
|
Hey,
I'm trying to implement a list storing different types. The gallery examples presents a running implementation. I copied the example and adjusted it for my requirements that slightly differ. My sub types do not have any attributes in common. So my base type does not contain any property, as it is for IChildElement interface. IChildElement contains the StringValue property that is inherited to all subtypes and used to shown in the UI (table).
@GenerateImpl
public interface Base extends IModelElement {
ModelElementType TYPE = new ModelElementType(Empty.class);
}
Text, Image and Pdf extend Base.
@Type(base = Base.class, possible = { Text.class, Image.class, Pdf.class })
@XmlListBinding
(
path = "description",
mappings =
{
@XmlListBinding.Mapping(element = "text", type = Text.class),
@XmlListBinding.Mapping(element = "image", type = Image.class),
@XmlListBinding.Mapping(element = "pdf", type = Pdf.class)
}
)
ListProperty PROP_DESCRIPTION = new ListProperty(TYPE, "Description");
ModelElementList<Empty> getDescription();
The table that shows the types in the UI just executes the toString() method from java.lang.Object and prints the memory address from org.eclipse.sapphire.ui.renderers.swt.DefaultListPropertyEditorRenderer$TableRow. Is there a straightforward way I could provide a label/content provider? I provided editing support in the detail area, but it would be nice if the user could directly change one property of a certain subtype in the table (that I would had to define per type e.g. for Image the URI and for Text the content). Is that possible?
Thank you!
Kon
|
|
|
| Topic: Element ordering not according to XSD (with several files) |
|---|
| Element ordering not according to XSD (with several files) [message #1060658] |
Mon, 27 May 2013 10:42 |
kon f Messages: 33 Registered: March 2012 |
Member |
|
|
Hey,
I found this post. I extended the example being able to include several xsd files (useful if the schema is big and needs to be spread over several xsd files). I use include because I want to contribute to the same namespace.
On the given example, I just moved the type definition to a separate xsd file.
schema.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.roded.com/xsdtestcase" xmlns="http://www.roded.com/xsdtestcase">
<xs:include schemaLocation="type.xsd" />
<xs:element name="XSDTestCaseModel" type="XSDTestCaseModelType" />
</xs:schema>
type.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.roded.com/xsdtestcase" xmlns="http://www.roded.com/xsdtestcase"
elementFormDefault="qualified">
<xs:complexType name="XSDTestCaseModelType">
<xs:sequence>
<xs:element name="ValueA" type="xs:string"></xs:element>
<xs:element name="ValueB" type="xs:string"></xs:element>
<xs:element name="ValueC" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
IXSDTestCaseModel
package com.modelity.eclipse.structures.sapphire.report.xsdtestcase;
import org.eclipse.sapphire.modeling.IModelElement;
import org.eclipse.sapphire.modeling.ModelElementType;
import org.eclipse.sapphire.modeling.Value;
import org.eclipse.sapphire.modeling.ValueProperty;
import org.eclipse.sapphire.modeling.annotations.GenerateImpl;
import org.eclipse.sapphire.modeling.annotations.Label;
import org.eclipse.sapphire.modeling.xml.annotations.XmlNamespace;
import org.eclipse.sapphire.modeling.xml.annotations.XmlSchema;
@GenerateImpl
@XmlNamespace(uri = "http://www.roded.com/xsdtestcase")
@XmlSchema(namespace = "http://www.roded.com/xsdtestcase", location = "http://www.roded.com/xsdtestcase/1.0")
public interface IXSDTestCaseModel extends IModelElement {
ModelElementType TYPE = new ModelElementType(IXSDTestCaseModel.class);
// *** ValueA ***
@Label(standard = "ValueA")
ValueProperty PROP_VALUE_A = new ValueProperty(TYPE, "ValueA");
Value<String> getValueA();
void setValueA(String value);
// *** ValueB ***
@Label(standard = "ValueB")
ValueProperty PROP_VALUE_B = new ValueProperty(TYPE, "ValueB");
Value<String> getValueB();
void setValueB(String value);
// *** ValueA ***
@Label(standard = "ValueC")
ValueProperty PROP_VALUE_C = new ValueProperty(TYPE, "ValueC");
Value<String> getValueC();
void setValueC(String value);
}
plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.editors">
<editor
id="com.modelity.eclipse.structures.sapphire.report.xsdtestcase.IXSDTestCaseModel"
name="test case xsd"
filenames="xsdtestcase.xml"
default="true">
<class class="org.eclipse.sapphire.ui.swt.xml.editor.SapphireEditorForXml">
<parameter name="sdef" value="com.modelity.eclipse.structures.sapphire.report.xsdtestcase.testcasemodel"/>
</class>
</editor>
</extension>
<extension
point="org.eclipse.wst.xml.core.catalogContributions">
<catalogContribution>
<system
systemId="http://www.roded.com/xsdtestcase/1.0"
uri="schema/schema.xsd">
</system>
</catalogContribution>
</extension>
</plugin>
Am I doing something wrong? Thank you!
Kon
|
|
|
| Forum: BIRT |
|---|
| Topic: WebViewer with Internet Explorer |
|---|
| WebViewer with Internet Explorer [message #1060589] |
Mon, 27 May 2013 04:09 |
donino donino Messages: 73 Registered: July 2011 |
Member |
|
|
Hi everyone,
When we run a webviewer 4.2 report with IE9 or IE10, it appears Internet Explorer is switching to a document-mode IE7 (we can see it with IE development tools). It prevents using native HTML5 features, such number or date input if we customize JSP or add html text within reports.
HTML5 in Webviewer works with all browsers except IE, do someone know why is it happening? Is there a way to avoid Internet Explorer to use this old document mode when it runs under IE9+? May be a JSP to modify, a javascript resource or something like this?
Thanks!
[Updated on: Mon, 27 May 2013 04:10] Report message to a moderator
|
|
|
| Topic: Text Truncating and blank pages in BIRT |
|---|
|
| Topic: Fiscal Report BIRT |
|---|
| Re: Fiscal Report BIRT [message #1060636 is a reply to message #1059638] |
Mon, 27 May 2013 08:30 |
dhruba kumar Messages: 34 Registered: September 2012 |
Member |
|
|
Hi Sorry for delay in reply.
Now my report is generating as per my expection .
The .rptdesign and Report is atttached.
In Month column I ve written the folowing expression to show the Heading "Apr", "May", "Jun" .."Mar":
BirtDateTime.month(BirtDateTime.date(1900,dimension["Year-Month"]["Month"]+2%12,1),3)+" '"+(new String(new Date(dimension["Year-Month"]["Year"]+dimension["Year-Month"]["Month"]/10,1,1).getFullYear())).substr(2,2);
And in "fetch" in DataSet written the following scriplet:
if(count < rowobj.size()){
rowval=rowobj.get(count).getAttrVector();;
row["ecnNo"]=rowval.get(0).toString();
row["reason"] = rowval.get(1).toString();
row["plant"] = rowval.get(2).toString();
stk= new Packages.java.util.StringTokenizer(rowval.get(3).toString(),"-");
odt = new Packages.java.text.SimpleDateFormat("yyyy/MM/dd").parse(stk.nextToken().toString());
row["creationDate"] = odt;
cal = new Packages.java.util.Calendar.getInstance();
cal.setTime(row["creationDate"]);
FiscalMonth = cal.get(Packages.java.util.Calendar.MONTH)+1;
FiscalYear=cal.get(Packages.java.util.Calendar.YEAR);
if(FiscalMonth<4){
FiscalMonth+=9;
FiscalYear=FiscalYear-1;
}
else
FiscalMonth-=3;
datestr1=FiscalYear+"/"+FiscalMonth+"/01";
row["creationDate"]= new Packages.java.util.Date(datestr1);
count++;
return true;
}
return false;
If possoble please incorporate this feature in OOTB BIRT.
Thanks for your help.
|
|
|
| Re: Fiscal Report BIRT [message #1060638 is a reply to message #1059638] |
Mon, 27 May 2013 08:32 |
dhruba kumar Messages: 34 Registered: September 2012 |
Member |
|
|
Hi Sorry for delay in reply.
Now my report is generating as per my expection .
The .rptdesign and Report is atttached.
In Month column I ve written the folowing expression to show the Heading "Apr", "May", "Jun" .."Mar":
BirtDateTime.month(BirtDateTime.date(1900,dimension["Year-Month"]["Month"]+2%12,1),3)+" '"+(new String(new Date(dimension["Year-Month"]["Year"]+dimension["Year-Month"]["Month"]/10,1,1).getFullYear())).substr(2,2);
And in "fetch" in DataSet written the following scriplet:
if(count < rowobj.size()){
rowval=rowobj.get(count).getAttrVector();;
row["ecnNo"]=rowval.get(0).toString();
row["reason"] = rowval.get(1).toString();
row["plant"] = rowval.get(2).toString();
stk= new Packages.java.util.StringTokenizer(rowval.get(3).toString(),"-");
odt = new Packages.java.text.SimpleDateFormat("yyyy/MM/dd").parse(stk.nextToken().toString());
row["creationDate"] = odt;
cal = new Packages.java.util.Calendar.getInstance();
cal.setTime(row["creationDate"]);
FiscalMonth = cal.get(Packages.java.util.Calendar.MONTH)+1;
FiscalYear=cal.get(Packages.java.util.Calendar.YEAR);
if(FiscalMonth<4){
FiscalMonth+=9;
FiscalYear=FiscalYear-1;
}
else
FiscalMonth-=3;
datestr1=FiscalYear+"/"+FiscalMonth+"/01";
row["creationDate"]= new Packages.java.util.Date(datestr1);
count++;
return true;
}
return false;
If possoble please incorporate this feature in OOTB BIRT.
Thanks for your help.
|
|
|
| Topic: Designer plugin classloader exception |
|---|
|
| Topic: comparsion in paramter |
|---|
|
| Topic: my parameter problem |
|---|
|
| Topic: Printing labels horizontally |
|---|
| Printing labels horizontally [message #1060662] |
Mon, 27 May 2013 10:56 |
|
Hi guys
I have some trouble with a seemingly simple task, I need to print the data from the report below, but not in the way that is happening.
I need the data are arranged horizontally within the paper and not vertically as is occurring. I need to print the data on adhesive labels 3 X 4 rows cols.
Bruno Borba
|
|
|
| Forum: Remote Application Platform (RAP) |
|---|
| Topic: RAP and Tabris |
|---|
|