Skip to main content



      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 03:16 Go to next message
Eclipse UserFriend
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 03:32 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Newline option not available when table is empty [message #1504440 is a reply to message #1504419] Tue, 09 December 2014 03:58 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 21:50:43 EDT 2025

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

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

Back to the top