This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 100617 - Incremental toolbar button shouldn't be toggle button
Summary: Incremental toolbar button shouldn't be toggle button
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Yang Su
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-04-11 14:43 UTC by Sergey Petrov
Modified: 2007-06-07 12:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2007-04-11 14:43:46 UTC
regression, reproducible in 070410_34

Incremental layout looks similar to some kind of relayout and invoking the
layout from context menu do not move selection mark to "Incremental" item,
diagram layout style property has no incremental item too.
Incremental toolbar button shouldn't be toggle button and shouldn't affect state
of another layout buttons.
Comment 1 Yang Su 2007-04-14 00:36:27 UTC
fixed and also added separator on popup menu.

some background info:

"There are two ways to perform layout, globally or incrementally, both layout
all graph objects according to the requested layout style.

Global layout is preferred when the relative positions of the graph's objects do
not need to be maintained, while incremental layout preserves object position
information from previous layout, making it easier to understand successive
changes. When a drawing is changed by adding or deleting a few nodes or edges,
the incremental layout produces a series of stable drawings that preserve their
overall form. In other words, it may change elements in previous layout (most
likely it will) because it still applies the specified layout style while trying
to maintain each object's previous relative position. It's a compromise that
ensures original components can still be easily recognized. The three layout
style we provide (hierarchical, orthogonal and symmetrical) all support
incremental layout. 

Incremental layout button performs specified layout with incremental option set
to true."

Comment 2 Alexandr Scherbatiy 2007-06-07 12:02:51 UTC
verified in netbeans-hudson-trunk-378-full.zip