Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Newline option not available when table is empty
Newline option not available when table is empty [message #1504403] Tue, 09 December 2014 08:16 Go to next message
Steven Kauffmann is currently offline Steven KauffmannFriend
Messages: 19
Registered: November 2014
Junior Member
Hi all,

I have defined a table (edition table) representation and created a "create line tool" in order to create new instances that will be represented in the table.
The table has only one "line" defined and a feature column.

The create line tool is defined to create a new instances of the class that is matching the line definition of the table.

But when the table is empty the "create line" option is not available in the context menu (I tried on multiple locations in the table).

When a line is already present in the table, I can click anywhere in the table an the create line option is visible in the context menu. Seems that the create line option does not become available when the table is empty. Is this a bug or are we doing something wrong?

Best regards
Steven

Re: Newline option not available when table is empty [message #1504419 is a reply to message #1504403] Tue, 09 December 2014 08:32 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Le 09/12/2014 09:16, Steven Kauffmann a écrit :
> Hi all,
>
Hi Steven

> I have defined a table (edition table) representation and created a
> "create line tool" in order to create new instances that will be
> represented in the table.
> The table has only one "line" defined and a feature column.
>
> The create line tool is defined to create a new instances of the class
> that is matching the line definition of the table.
>
> But when the table is empty the "create line" option is not available in
> the context menu (I tried on multiple locations in the table).
>
> When a line is already present in the table, I can click anywhere in the
> table an the create line option is visible in the context menu. Seems
> that the create line option does not become available when the table is
> empty. Is this a bug or are we doing something wrong?

You should have a dropdown button in the eclipse main toolbar to create
your first line. Then when the table is not empty, the top level line
creation menu should be available from any line selection.

The bug 453522 [1] has been created to report this confusing way to
create the first line. Do not hesitate to comment it or propose
improvement ideas.

>
> Best regards
> Steven
>
>

Regards

--
Maxime - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
--
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=453522


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Newline option not available when table is empty [message #1504440 is a reply to message #1504419] Tue, 09 December 2014 08:58 Go to previous message
Steven Kauffmann is currently offline Steven KauffmannFriend
Messages: 19
Registered: November 2014
Junior Member
Hi Maxime,

Thanks for the info. Using the dropdown button in the eclipse main toolbar I'm able to create the first element.

Regards,
Steven
Previous Topic:error icon on file not visible
Next Topic:Programmatically Validate Diagram
Goto Forum:
  


Current Time: Thu Apr 25 07:23:00 GMT 2024

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

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

Back to the top