Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How can I define an interface as default to a class?
How can I define an interface as default to a class? [message #617438] Tue, 29 September 2009 12:17
Danilo  is currently offline Danilo Friend
Messages: 9
Registered: September 2009
Junior Member
Hi!

I have a problem, becouse I can't define an interface for a new Style of a Visual Class.
Using org.eclipse.ve.java.core.newStyleComponent extension, I defined a new entry for a Style and I still need add an interface as default in a Visual Class creation, but I don't know how.

So, I will explain what exacly how get in my problem:

1. I create a new Plug-in Project;
2. I define a new extension with a category and I need now define a interface as default...



<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="br.com.ibanking.ide.ve"
name="My VE plugin"
version="1.0.0.0"
provider-name="My Provicer"
class="VEPlugin">

<runtime>
<library name="ve.jar">
<export name="*"/>
</library>
</runtime>

<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.ve.java.core"/>
</requires>
<extension
point="org.eclipse.ve.java.core.newStyleComponent">
<category
id="br.com.ibanking.ide.ve.iWorkplaceCategory"
name="iBanking">
</category>
<visualElement
category="br.com.ibanking.ide.ve.iWorkplaceCategory"
name="Menu Panel"
type="java.lang.Object">
</visualElement>
<visualElement
category="br.com.ibanking.ide.ve.iWorkplaceCategory"
name="Transaction Panel"
type="TransactionPanel">
</visualElement>
</extension>

</plugin>




My aim is, at the end, generate a class like that one:

public class MyClass implements MenuPanel {

}
Previous Topic:How can I define an interface as default to a class?
Next Topic:install Gallileo failed
Goto Forum:
  


Current Time: Fri Apr 26 14:22:10 GMT 2024

Powered by FUDForum. Page generated in 0.03140 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top