.JARa's Bilingual Weblog

Life's better with NetBeans
photo of Jara

(EN) Plugin Manager notices ( 20070530 Středa květen 30, 2007 )
English flag There are some terms and use-cases of NetBeans Plugin Manager that are not clear for some users. I will try to summarize the most important of them:

1.First of all there are 2 different actions "install" and "activate" in Plugin Manager.
The difference between them is following:
Installed plugin can be activated or deactivated. Deactivated plugin is not loaded by the module system so that it doesn't waste resources until it is activated. It resides in proper directory so that it can be activated (loaded by module system) quickly. During the installation of ordinary plugin it is automatically activated (special plugin types - Eager, Fixed and Autoload behave differently). Such details should not be important for users.

2.How can be plugin uninstalled?
There are 2 views of plugins in Plugin Manager. The default "category view" and simple "plugins view". The first one is better for most of users because plugins are grouped to the categories and operations are invoked at these categories. It is more synoptical because users work with the short list. The second "plugins view" may be valuable for advanced users that need to install/uninstall/activate/deactivate only single plugin. This is not so common so that the recommended is the "category view". The view can be switched in Plugin Manager's Settings tab through the "Show plugin details" checkbox.
In the NetBeans Plugin Manager there is the "Installed" tab that contains list of installed plugins/categories. Plugins/categories can be uninstalled by selecting the checkbox by the plugin/category followed by pushing Uninstall button.
To deactivate category/plugin there are popup menu items in Installed tab starting with the word Deactivate. Similar way is available for Activate action. I have to mention that the part of activation and deactivation is going to be redesigned.

3.How can I see list of plugin dependencies, classpath?
The installation of dependencies should be transparent for users. Users usually don't care about dependencies, classpath... they just need to install some feature. This is why the "category view" is default in the NetBeans Plugin Manager.

4.Show it in Updates vs. New Plugins tab
Plugin Manager has one not very intuitive behavior. Let's assume we have e.g. editor plugins "X" and "Y" grouped in category with name "Editing". Imagine that the user installs this group. Then let's assume that new plugin "Z" is added to update center and it is categorized to "Editing" too. From the group point of view the category is partially installed so that it appears in "Updates" tab. But when the plugin view is active then "Z" plugin appears in "New Plugins" tab (in this case it is just a single plugin no matter what category it belongs to). I do agree that this behavior is not very comprehensive at the first sight.

5.How to Select All/Deselect All
In Plugin Manager you can invoke popup menu on lists of categories/plugins. There are contextual items in this popup like Select All/Deselect All.

6.Merge Downloaded to New Plugins
In one comment of my blog there appeared idea that "Downloaded" can be merged to "New Plugins", in addition to provide a "add local module" button. I don't agree with this, because it is more synoptical to have these in separate tabs (at least for me). Maybe this is a topic for discussion with others.

At the end I would like to say that the Plugin Manager is not completely finished yet. There is big progress on fixing issues and some improvement are still in process. For example Active column wil be removed from Installed tab or contextual popup menu items will change. I hope all changes will help to usability of the Plugin Manager.
Posted by jara ( V 30 2007, 07:10:41 odp. CEST ) Permalink Comments [1]
(CS) Poznámky k Plugin Manageru ( 20070530 Středa květen 30, 2007 )
Czech flag Podle prvních ohlasů nejsou některým uživatelům zřejmé některé termíny a use-cases z oblasti NetBeans Plugin Manageru. Pokusím se proto shrnout ty nejdůležitější:

1.Dvě odlišné akce "install" a "activate" v Plugin Manageru.
Rozdíl mezi nimi je následující:
Nainstalovaný plugin může být ve stavu activated nebo deactivated. Deactivated plugin není natažený modulovým systémem NetBeans, takže nezabírá zbytečně zdroje až do doby, kdy je aktivován. Je umístěný v příslušném adresáři, takže může být velice rychle aktivován (natažen modulovým systémem). Při instalaci se běžné moduly rovnou aktivují (speciální typy pluginů plugin types - Eager, Fixed a Autoload se chovají odlišně). Detaily by neměly být pro uživatele Plugin Manageru podstatné.

2.Ja se dá plugin nainstalovat?
V Plugin Manageru je možné používat 2 odlišná view pro pluginy. Prvním a defaultním je "category view" a druhým je "plugins view". "Plugin view" by mělo být lepší pro většinu uživatelů, protože pluginy jsou grupované do kategorií a operace jsou prováděny nad těmito kategoriemi. Je to mnohem přehlednější, protože uživatel pracuje s kratším seznamem kategorií (seznam pluginů je obsáhlejší a proto méně přehledný). Naproti tomu "plugins view" by mohlo mít smysl pro zkušené uživatele, kteří potřebují instalovat/odinstalovat/aktivovat a deaktivovat jednotlivé pluginy. Takový postup není tak běžný, proto je doporučované pracovat v "category view". View se dá přepínat v Settings tabu Plugin Manageru pomocí checkboxu "Show plugin details".
V NetBeans Plugin Manageru je "Installed" tab obsahující nainstalované pluginy/kategorie. Plugins/categories mohou být odinstalovány pomocí chekboxu vedle pluginu/kategorie a následným stisknutím tlačítka Uninstall.
Pro deaktivaci kategorie/pluginu je možné použít položky v popup menu začínající slovem Deactivate. Analogicky jsou zde položky pro aktivaci. Zde je nutné zmínit, že pro aktivaci/deaktivaci se chystá redesign.

3.Jak se dají zjistit modulové závislosti a classpath pluginu
Instalace závislých modulů by měla probíhat transparentně pro uživatele. Uživatelé se zpravidla nezabývají tím, jaké jsou závislosti, classpath... pouze chtějí nainstalovat určitou funkcionalitu. To je důvod, proč je "category view" defaultní v NetBeans Plugin Manageru.

4.Zobrazení v Updates vs. New Plugins tabu
Plugin Manager obsahuje jedno ne zrovna intuitivní chování. Předpokládejme například, že máme pluginy do editoru "X" a "Y" a jsou zařzeny do kategorie se jménem "Editing". Představme si, že uživatel nainstaluje tuto kategorii. Následně předpokládejme, že je na update center přidán plugin "Z" zařazený rovněž do kategorie "Editing". Z pohledu grupování modulů se jeví kategorie "Editing" jako částečně nainstalovaná a proto se zobrazí v "Updates" tabu. Pokud ovšem pohlížíme na "Z" z pohledu "Plugin view", pak se objeví v "New Plugins" tabu (v tomto případě jde o jeden plugin bez ohledu na to, do jaké kategorie je zařazen). Uznávám, že toto chování není na první pohled příliš pochopitelné.

5.Jak udělat Select All/Deselect All
V Plugin Manageru lze na seznamu kategorií/pluginů vyvolat popup menu. V něm jsou kontextově zobrazeny položky jako jsou Select All/Deselect All.

6.Sloučit Downloaded do New Plugins
V jednom z komentářů u mého blogu se nachází myšlenka, že "Downloaded" tab by mohl být sloučený s "New Plugins". Pak by měl být k dispozici "add local module" button. S touto ideou nejsem ztotožněný. Řešení se mi totiž nezdá dostatečně přehledné, přehlednější je podle mne současné řešení se dvěma taby. Možná je to téma na diskusi pro ostatní.

Na konec bych chtěl říci, že Plugin Manager ještě není zcela ukončen. Je docela velký progres na fixování chyb a procesují se některá vylepšení. Například sloupec Active bude vyřazen z Install tabu, nebo taky dojde ke změně položek v kontextovém menu. Doufám, že všechny změny pomohou vylepšit usability Plugin Manageru.
Posted by jara ( V 30 2007, 07:10:32 odp. CEST ) Permalink Comments [1]


Archives
Search
Contact
Links
Visits map
Referrers

   Disclaimer: This blog contains my own opinions which may differ from viewpoints of Sun Microsystems.